Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use gcc in Solaris

Status
Not open for further replies.

mingx98

Technical User
Mar 16, 2000
78
CA
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.&nbsp;&nbsp;You should have a file called &quot;sample1&quot; in the same directory.&nbsp;&nbsp;This is the compiled program as specified by the &quot;-o&quot; option.&nbsp;&nbsp;If &quot;-o&quot; is not specified, then the default program name that will be created is &quot;a.out&quot;.<br><br>When you installed gcc, the &quot;info&quot; files should have also been installed.&nbsp;&nbsp;These are the manual pages for gcc, and are very detailed.&nbsp;&nbsp;You can view these with the &quot;info&quot; utility that is part of the &quot;texinfo&quot; package. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top