GCC compiler

sonxEr77

Expert Member
Joined
Oct 22, 2006
Messages
1,809
Reaction score
0
Location
around
I've been trying to google step by step instruction on how to compile a simpe c program using GCC. All i get are linux commands, i'm looking for running GCC in windows & use cmd prompt to comple a c/c++ file...

A link will help. Oh! must also include steps of installing gcc on windows which will lead to "how to compile"... thanx in advance
 
If you only use the standard C includes you don't need to link against anything (all done for you).

If not you would need to: gcc -o test test.c -lsomelibrary

You don't need a seperate linker program, gcc does it all for you.

- twiga
 
Top
Sign up to the MyBroadband newsletter
X