Installing GCC
8 Installing GCC
Chapter 4: Installing GCC: Con figuration 94 Installing GCC: ConfigurationLike most GNU software, GCC must be configured before it can be built. This doc
10 Installing GCCOptions specificationUse options to override several configure time options for GCC. A list of supported optionsfollows; ‘configure --h
Chapter 4: Installing GCC: Con figuration 11--with-gxx-include-dir=dirnameSpecify the installation d irectory f or G++ header files. The defaultis ‘pref
12 Installing GCCThe default value for ‘--with-local-prefix’ is ‘/usr/local’ r egardless of thevalue of ‘--prefix’. Specifying ‘--prefix’ has no effect
Chapter 4: Installing GCC: Con figuration 13--enable-shared[=package [,...]]Build shared versions of libraries, if shared libr aries are supported on t
14 Installing GCCswitch described above. target is the target system triple, such as‘sparc-sun-solaris2.7’, and version denotes the GCC version, such
Chapter 4: Installing GCC: Con figuration 15arc-*-elf*biendian.arm-*-* fpu, 26bit, unders core, interwork, biendian, nofmult.m68*-*-* softfloat, m68881,
16 Installing GCCsolaris Sun Solaris 2 thread support.vxworks VxWorks thread support.win32 Microsoft Win32 API thread support.nks Novell Kernel Servic
Chapter 4: Installing GCC: Con figuration 17has th e opposite effect. If neither option is s pecified, the configure script willtry to guess whether the .
Copyrightc 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,2003, 2004, 2005 Free Software Foundation, Inc.Permission is
18 Installing GCC--disable-libadaSpecify that the run-time libraries and tools used by GNAT should not bebuilt. This can be useful for debugging, or f
Chapter 4: Installing GCC: Con figuration 19the external valgrind simulator, available from http://valgrind.org/. Thechecks ‘rtl’, ‘gcac’ and ‘valgrind
20 Installing GCC--enable-obsoleteEnable configuration for an obs oleted system. If you attempt to configure GCCfor a system (build, host, or target) wh
Chapter 4: Installing GCC: Con figuration 21Fortran-specific OptionThe following options apply to the build of the Fortran front end .--with-gmp=pathnam
22 Installing GCC--with-ecosEnable runtime eCos target support.--without-libffiDon’t use ‘libffi’. This will disable the interpreter and JNI su pport
Chapter 4: Installing GCC: Con figuration 23values are ‘gtk’ and ‘xlib’. Multiple libraries should be separated by a comma(i.e. ‘--enable-java-awt=gtk,
24 Installing GCC
Chapter 5: Building 255 BuildingNow that GCC is configured, you are ready to build the compiler and runtime libraries.Some commands executed when makin
26 Installing GCCIf you want to save additional space during the bootstrap and in the final installation aswell, you can build the compiler binaries wi
Chapter 5: Building 27Note that if an error occurs in any step the make process will exit.If you are not building GNU binutils in the same source tree
Chapter 1: Installing GCC 11 Installing GCCThe latest version of this document is always available at http://gcc.gnu .org/install/.This document descr
28 Installing GCCpercent speedup on compiling C programs. To bootstrap compiler with profile feedback,use make profiledbootstrap.When ‘make profiledboo
Chapter 6: Installing GCC: Testing 296 Installing GCC: TestingBefore you install GCC, we encourage you to run the testsuites and to compare your resul
30 Installing GCC6.2 Passing options and running multiple testsuitesYou can pass multiple options to the testsuite using the ‘--target_board’ option o
Chapter 6: Installing GCC: Testing 31Jacks is a free testsuite that tests Java compiler front ends. This suite can berun as part of libgcj testing by
32 Installing GCC
Chapter 7: Installing GCC: Final installation 337 Installing GCC: Final installationNow that GCC has been built (and optionally tested), you can insta
34 Installing GCC• The version of the Linux kernel, available from ‘uname --version’ or ‘uname -a’.• The version of glibc you used; for RP M-based sys
Chapter 8: Installing GCC: Binaries 358 Installing GCC: BinariesWe are often asked about pre-compiled versions of GCC. While we cannot provide these f
36 Installing GCC
Chapter 9: Host/target specific in s tallation notes for GCC 379 Host/target spec i fic installation notes for GCCPlease read this document carefully be
2 Installing GCC
38 Installing GCCand that makes comparison f ail if it differs between the stage1 and stage2 compilations.The option ‘-save-temps’ forces a fixed name t
Chapter 9: Host/target specific in s tallation notes for GCC 39arm-*-coffARM-family processors. Note that there are two different varieties of PE format
40 Installing GCCCRISCRIS is the CPU architecture in Axis Communications ETRAX system-on-a-chip series.These are used in embedded applications.See sec
Chapter 9: Host/target specific in s tallation notes for GCC 41no known issues with mixing object files and libraries with different debugging formats.Ot
42 Installing GCCcause problems when bootstrapping with an earlier version of GCC or the HP compiler asessentially the s ame namespace is required for
Chapter 9: Host/target specific in s tallation notes for GCC 43On 64-bit capable systems, there are two distinct targets. Different installation prefixes
44 Installing GCCGCC 3.3 uses the ELF DTINIT ARRAY and DT FINI ARRAY capabilities to runinitializers and finalizers on the 64-bit port. The 32-bit port
Chapter 9: Host/target specific in s tallation notes for GCC 45Earlier versions of GCC emitted DWARF 1 when generating ELF to allow the systemdebugger
46 Installing GCCYou should substitute ‘i686’ in the above command with the appropriate processor foryour host.After the usual ‘make bootstrap’ and ‘m
Chapter 9: Host/target specific in s tallation notes for GCC 47the stage1 phase of the bu ild, the native AIX compiler must be invoked as cc (not xlc).
Chapter 2: Prerequ isites 32 PrerequisitesGCC requires that various tools and packages be available for u s e in the build procedure.Modifying GCC sou
48 Installing GCCThe AIX 4.3.2.1 linker (bos.rte.bindcmds Level 4.3.2.1) will dump core with a segmen-tation fault w hen invoked by any version of GCC
Chapter 9: Host/target specific in s tallation notes for GCC 49_floatdisfcc1: warning: ‘-g’ option not supported on this version of GCCcc1: warning: ‘-
50 Installing GCCanything bu t a Mips. It does work to cross compile for a Mips if you use the GNU assemblerand linker.mips-sgi-irix5In order to compi
Chapter 9: Host/target specific in s tallation notes for GCC 51GCC on IRIX 6 is usually built to support the N32, O32 and N64 ABIs. If you buildGCC on
52 Installing GCCpowerpc-*-eabisimEmbedded PowerPC system in big endian mode for use in running under the PSIM simu-lator.powerpc-*-eabiEmbedded Power
Chapter 9: Host/target specific in s tallation notes for GCC 53To ch eck whether an optional package is installed, use the pkginfo command. To addan op
54 Installing GCCSun as 4.x is broken in that it cannot cope with long symbol names. A typical errormessage might look similar to the following:/usr/c
Chapter 9: Host/target specific in s tallation notes for GCC 55Unfortunately 107058-01 is preinstalled on some new S olaris 7-based hosts, so you mayha
56 Installing GCC*-*-sysv*On System V release 3, you may get this error message while linking:ld fatal: failed to write symbol name somethingin string
Chapter 9: Host/target specific in s tallation notes for GCC 57default is a bi-arch compiler which is able to generate both 64-bit x86-64 and 32-bit x8
4 Installing GCCGNU Multiple Precision Library (GMP) version 4.0 (or later)Necessary to build the Fortran frontend. If you don’t have it installed iny
58 Installing GCCsites. Header bugs may generally be avoided using fixincludes, but bugs or deficienciesin libraries and the operating system may still
Chapter 10: Old installation documentation 5910 Old installation documentationNote most of this information is out of date and superseded by the previ
60 Installing GCCm68k, m6811, m6812, m88k, mcore, mips, mipsel, mips 64, mips64el, mn10200,mn10300, ns32k, pdp11, powerp c, powerpcle, romp, r s6000,
Chapter 10: Old installation documentation 61name to access them. If you use configuration ‘cpu-local’, the configuration name withoutthe cpu prefix is u
62 Installing GCC
Chapter 10: GNU Free Documentation License 63GNU Free Documentation LicenseVersion 1.2, November 2002Copyrightc 2000,2001,2002 Free S oftware Foundat
64 Installing GCCunder th is License. If a section does not fit the above definition of Secondary then it isnot allowed to be designated as Invariant. T
Chapter 10: GNU Free Documentation License 65that you add no other conditions wh atsoever to those of this License. You may n ot usetechnical measures
66 Installing GCCB. List on the Title Page, as authors, one or more pers on s or entities responsible forauthorship of the modifications in the Modified
Chapter 10: GNU Free Documentation License 67You may add a section Entitled “Endorsements”, provid ed it contains nothing butendorsements of your Modi
Chapter 2: Prerequ isites 5GNU Bison version 1.28 (or later)Berkeley yacc (byacc) is also reported to work other than for java.Necessary when modifyin
68 Installing GCCan “aggregate” if the copyright resulting from the compilation is not used to limit thelegal rights of the compilation’s users beyond
Chapter 10: GNU Free Documentation License 69ADDENDUM: How to use this License for your d ocumentsTo use this License in a document you have written,
70 Installing GCC
6 Installing GCC
Chapter 3: Downloading GCC 73 Down l oading GCCGCC is distributed via CVS and FTP tarballs compressed with gzip or bzip2. It is possibleto download a
Commentaires sur ces manuels