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: ++remind "7am tomorrow" bring object
      gollark: ?tag create "lyricly projects" At least mindbreak & macron & petcruel & clothier + possibly chess world. Will never be finished.
      gollark: I could bridge to the forum.
      gollark: If your IP was blocked, I would send 403 errors.
      gollark: My logs appear to corroborate the suggestion that your browser is wrong. Please make it not wrong.

      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.