|
|
Intel BlogsWhitepapers
|
Linux development tools, part 1Linux Development Tools: The GNU Free Software Foundation created and maintains the GNU Compiler Collection. GCC can compile programs written in C, C++, Objective-C, Fortran, and Java.
by Carla Schroder. Intel Corp. The GNU Free Software Foundation created and maintains the GNU Compiler Collection. GCC can compile programs written in C, C++, Objective-C, Fortran, and Java. One compiler, many uses. Front-ends for other languages exist, but have not been integrated into GCC. But it is endlessly adaptable, so you can write your own if you need something in particular. GCC is designed for the widest range of cross-platform development—Intel®, Alpha, Sun, Apple, and so forth—from 64-bit to embedded devices.
The GNU Compiler Collection Every version of Linux includes GCC. There is no graphical interface for GCC. Fear not, for true power lies in the command line, and abundant documentation exists for it. Anytime you want to know more about anything in this article, call up its corresponding info or man page (example: info gcc, or man gcc). The GNU foundation keeps its most current documentation on info pages, and no longer updates its man pages. If you are not familiar with info pages, take five minutes to go through the built-in tutorial. Once you become familiar with it, navigating large complex documents is fast and easy. Simply type info at the prompt, then the letter h to get into the help system. The current release is 3.1. Generally it is best to have the current version since significant improvements are made with each release. 3.1 generates significantly faster code than previous versions. gcc's traditional strengths are flexibility and cross-platform capabilities. In most benchmarks it lagged behind other, more specialized compilers, such as Intel's Linux C++ compiler—until version 3.1. (The gcc developers use the SPEC2000 and SPEC95 benchmark suites for testing.) The x86 back end has a number of significant improvements:
Subscribers who liked this article also read:
If you're interested in this topic, these articles may be helpful:
Related Jobs:
|
|
|