I have a C source sample1.c<br>I want make a executable file ,<br>How I do<br>gcc -c sample1.c -o sample1,<br><br>no output in CRT ,no other info,<br><br>How to use gcc ?<br><br>Thanks
No output means that the source file compiled correctly with no warnings or errors. You should have a file called "sample1" in the same directory. This is the compiled program as specified by the "-o" option. If "-o" is not specified, then the default program name that will be created is "a.out".<br><br>When you installed gcc, the "info" files should have also been installed. These are the manual pages for gcc, and are very detailed. You can view these with the "info" utility that is part of the "texinfo" package. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.