Anonymous user
GNU Compiler Collection: Difference between revisions
m
Spelling/grammar/aesthetics
m (Added formatting and intra-site links.) |
m (Spelling/grammar/aesthetics) |
||
Line 1:
{{encyclopedic}}The '''GNU Compiler Collection''', or '''GCC''', is a
==Basic Usage==
Line 5:
Any of GCC's supported languages may be compiled through the simple command-line construct:
<pre>gcc (source-file)</pre>
However, some languages depend on the [[linking]] of libraries, such as C++'s [[Standard Template Library]], to reach their full potential.
<pre>g++ (source-file)</pre>
In the above two examples, GCC will produce a binary file named <tt>a.out</tt>, barring any [[compile-time errors]].
<pre>gcc (source-file) -o mybinary</pre>
''or''
|