GNU To compile Collection
See also: GCC
In Data-processing, GCC , Abbreviation of GNU To compile Collection , is the Compilateur created by the project GNU. It is about a collection of Logiciel S free integrated able to compile various computer programming languages, of which C, C++, Objective-C, Java, Ada and FORTRAN.
GCC is used for the development of the majority of the Free software. The Noyau Linux depends in particular closely on the functionalities of GCC.
Presentation
GCC was designed to replace the compiler C provided out of standard on the Operating system Unix, which is called DC. GCC meant in the beginning GNU C To compile , that is to say the “compiler C of GNU”. As GCC is very extensible, the support many other languages was added and official name was changed into GNU Compiler Collection (note: without “S” with To compile ).In practice, abbreviation GCC is used to name three slightly different entities:
- the collection supplements compilers;
- the part common to all the compilers;
- the compiler C itself.
To precisely refer to the compilers of each language, one speaks about:
Debugging
See also: GNU Debugger
GCC also has a tool of débuggage, GNU Debugger (gdb). Although not forming part of GCC, Valgrind is however preferred for tests more in depths, in particular to seek the escapes of memory.
Portability
GCC was related to a considerable number of Operating systems (practically all alternatives of Unix, VMS, Windows) and Microprocesseur S (AMD64, ARM, DEC Alpha, M68k, MIPS, PowerPC, SPARC, X86, Hitachi H8).
History
The development of GCC started in 1985 with Richard Stallman, founder of the Free Software Foundation, in a " dialecte" not portable of Pascal. With the assistance of Len Tower, it rewrites GCC out of C ANSI and in 1987 like the compiler of project GNU publishes it.In 1992, version 2.0 brings in addition to many optimizations, the support of the C++ language.
In 1997, a group of developers finds the development model slow and not very favourable with the improvements, they then decide to make a Fork project and names it EGCS (for Experimental/Enhanced GNU Compiler System ). Following the many improvements carried out, EGCS and GCC are joined together in April 1999, the first version published is the 2.95.
GCC follows closely the evolution of the standardization of the languages, and sometimes even precedes it; thus some of the functionalities of the standard C99 were already present before the official publication.
GCC is today the compiler more used in the community of the free software and is the compiler of many operating systems, like Linux, BSD, Mac OS X, NeXTSTEP or BeOS/Haïku.
Versions
The versions are fixed by GCC Steering Committee . Version 4 compiles FORTRAN 95 following the request of very many scientific users. It is, indeed, in this language that are exchanged the majority of the libraries source and scientific subroutines current; however Linux is very present in the laboratories.Here comings out date of the principal last versions:
- 3.0: June 18th 2001
- 3.1: May 15th 2002
- 3.2: August 14th 2002
- 3.3: May 13rd 2003
- 3.4: April 18th 2004
- 4.0: April 20th 2005
- 4.0.4: January 31st 2007
- 4.1: February 28th 2006
- 4.1.2: February 13rd 2007
- 4.2: May 13rd 2007
- 4.2.2: October 7th, 2007
Syntax
The basic syntax used by the compilers of GCC is: GCC fichierSource.c - O binaryTo use libraries, syntax is the following one: GCC fichierSource.c - O binary - L library
Many options (last in parameter) make it possible to act on compilation. GCC is often used in the Makefile by the program Make.
External bonds
- the official site
| Random links: | Charter of the basic rights of the European Union | Joe Comartin | Webshore | Craste | To remember Hapsal | L'anglais_australien |