Programming-related Commands

From LQWiki
Jump to: navigation, search

Some programming-related commands:

  • compiling
    • g++ -- C++ front-end to GCC.
    • gcc -- "GNU Compiler Collection". Also C compiler.
    • gcj -- Java front-end to GCC.
    • as - the portable GNU assembler
  • dealing with object files (see also binutils)
    • nm - lists symbols from object files
    • objcopy - copies and translates object files
    • objdump - display information from object files
    • readelf - displays information about ELF files
  • lexical analyzer and parser
    • bisOn (the yacc replacement)
    • flex (the lex replacement)
  • misc
    • addr2line - converts addresses into file names and line numbers
    • file - find out file type (like "link", "executable" or shared object)
    • strings - finds printable strings in a file