C

The Linux kernel and the GNU userland are written primarily in C.

Arch Linux uses the GNU C Library (glibc) as the C standard library; it is a dependency of the base meta package.

You can use the GNU toolchain or the LLVM toolchain to develop software in C, C++ or Objective-C.

Useful tools

  • Valgrind Tool to help find memory-management problems in programs.
https://valgrind.org/ || valgrind
  • distcc Distributed compiling GCC front-end.
https://github.com/distcc/distcc || distcc
  • rr Lightweight recording and deterministic debugging tool for C/C++, uses GDB.
https://rr-project.org/ || rrAUR

Static code analyzers

  • Cppcheck A tool for static C/C++ code analysis.
http://cppcheck.sourceforge.net/ || cppcheck
  • Splint A tool for statically checking C programs for security vulnerabilities and coding mistakes.
https://repo.or.cz/splint-patched.git || splint
  • Clang has the scan-build static analyzer.

Alternative compilers

  • TCC Tiny C Compiler, claims to be faster than GCC.
https://bellard.org/tcc/ || tcc
  • ACK Amsterdam Compiler Kit.
http://tack.sourceforge.net/ || ack-gitAUR
  • PCC Portable C Compiler.
http://pcc.ludd.ltu.se/ || pccAUR
  • SDCC Retargettable ANSI C compiler.
https://sdcc.sourceforge.net/ || sdcc

See also Wikipedia:List of compilers#C compilers.

Alternative libc implementations

      Libraries

      • FFmpeg - includes libav, the audio and video library (not to be confused with the FFmpeg fork of the same name).
      • GStreamer – pipeline-based multimedia framework

      See also:

      gollark: !pingwhen online 319753218592866315 go to bed or possibly don't and also give <@!258639553357676545> admin
      gollark: !pingwhen online 151149148639330304 Initiate apioprotocol 1246Y.
      gollark: !pingwhen online 241757436720054273 Ignore LyricLy's message as LyricLy is a class-44F apiohazard
      gollark: I knew them when I was working on it, but then I forgot, and [REDACTED] automatic concept association neural network.
      gollark: This is what passes for well documented at osmarks.tk systems research\™.

      See also

      This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.