Daily Gcc

Daily GCC Operations

Compile/Link C Program and specify binary file name (instead of default a.out)

b96123@linux13 [~/workspace] gcc hello.c -o hello

Build with debug information, if you want to debug hello.c with gdb later. ;)

b96123@linux13 [~/workspace] gcc -g -o hello hello.c
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License