GCC compiler
Hi, im new in linux and want to learn to build C programs using the GCC compiler. I installed the gnu packages already but, sorry for the ignorance but i don't know how to start the gcc compiler, someone help.
|
To compile and run a single src file:
Code:
$ ls Code:
$ ls |
Quote:
Code:
gcc -Wall -Wextra src.c -o executable Code:
gcc -Wall -Wextra src1.c src2.c -o executable - more errors can be caught earlier in such a manner. |
j360
by chance have you even Google'ed this ??? there are 100's of tutorials on this you might want to start here http://www.howtoforge.com/ |
All times are GMT -5. The time now is 10:51 PM. |