Anonymous user
GNU Compiler Collection: Difference between revisions
→See Also
No edit summary |
|||
(8 intermediate revisions by 4 users not shown) | |||
Line 1:
{{Compiler}}[[Category:Encyclopedia]]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 [[link time|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
<pre>gcc (source-file) -o mybinary</pre>
''or''
<pre>g++ (source-file) -o mybinary</pre>
These example behaves the same as their sibling examples, with the exception that they create a binary named
==See Also==
* [http://
* [[wp:GNU Compiler Collection|GNU Compiler Collection on Wikipedia]]
* [http://gcc.gnu.org/onlinedocs/ GCC
* [http://gcc.gnu.org/install/binaries.html An incomplete list of third-party binary distributions] for systems that don't already have a compiler installed.
* [http://mingw.org/ MinGW], a widely-used port of GCC to [[Windows]]
* [https://mingw-w64.org MinGW-w64], a popular fork of MinGW that adds Win64 support and additional tools and APIs
* [http://tdm-gcc.tdragon.net/ TDM-GCC], another Windows port (not listed in the third-party distribution page above)
* [http://www.delorie.com/djgpp/ DJGPP], a widely-used port of GCC to [[DOS]]
|