install
来自「GCC编译器源代码」· 代码 · 共 1,454 行 · 第 1/5 页
TXT
1,454 行
balance, convex-cN, crds, decstation-3100, decstation, delta, encore, fx2800, gmicro, hp7NN, hp8NN, hp9k2NN, hp9k3NN, hp9k7NN, hp9k8NN, iris4d, iris, isi68, m3230, magnum, merlin, miniframe, mmax, news-3600, news800, news, next, pbd, pc532, pmax, powerpc, powerpcle, ps2, risc-news, rtpc, sun2, sun386i, sun386, sun3, sun4, symmetry, tower-32, tower.Remember that a machine name specifies both the cpu type and the companyname. If you want to install your own homemade configuration files,you can use `local' as the company name to access them. If you useconfiguration `CPU-local', the configuration name without the cpu prefixis used to form the configuration file names. Thus, if you specify `m68k-local', configuration uses files`m68k.md', `local.h', `m68k.c', `xm-local.h', `t-local', and `x-local',all in the directory `config/m68k'. Here is a list of configurations that have special treatment orspecial things you must know:`1750a-*-*' MIL-STD-1750A processors. The MIL-STD-1750A cross configuration produces output for `as1750', an assembler/linker available under the GNU Public License for the 1750A. `as1750' can be obtained at *ftp://ftp.fta-berlin.de/pub/crossgcc/1750gals/*. A similarly licensed simulator for the 1750A is available from same address. You should ignore a fatal error during the building of libgcc (libgcc is not yet implemented for the 1750A.) The `as1750' assembler requires the file `ms1750.inc', which is found in the directory `config/1750a'. GNU CC produced the same sections as the Fairchild F9450 C Compiler, namely: `Normal' The program code section. `Static' The read/write (RAM) data section. `Konst' The read-only (ROM) constants section. `Init' Initialization section (code to copy KREL to SREL). The smallest addressable unit is 16 bits (BITS_PER_UNIT is 16). This means that type `char' is represented with a 16-bit word per character. The 1750A's "Load/Store Upper/Lower Byte" instructions are not used by GNU CC.`alpha-*-osf1' Systems using processors that implement the DEC Alpha architecture and are running the DEC Unix (OSF/1) operating system, for example the DEC Alpha AXP systems.CC.) GNU CC writes a `.verstamp' directive to the assembler output file unless it is built as a cross-compiler. It gets the version to use from the system header file `/usr/include/stamp.h'. If you install a new version of DEC Unix, you should rebuild GCC to pick up the new version stamp. Note that since the Alpha is a 64-bit architecture, cross-compilers from 32-bit machines will not generate code as efficient as that generated when the compiler is running on a 64-bit machine because many optimizations that depend on being able to represent a word on the target in an integral value on the host cannot be performed. Building cross-compilers on the Alpha for 32-bit machines has only been tested in a few cases and may not work properly. `make compare' may fail on old versions of DEC Unix unless you add `-save-temps' to `CFLAGS'. On these systems, the name of the assembler input file is stored in the object file, and that makes comparison fail if it differs between the `stage1' and `stage2' compilations. The option `-save-temps' forces a fixed name to be used for the assembler input file, instead of a randomly chosen name in `/tmp'. Do not add `-save-temps' unless the comparisons fail without that option. If you add `-save-temps', you will have to manually delete the `.i' and `.s' files after each series of compilations. GNU CC now supports both the native (ECOFF) debugging format used by DBX and GDB and an encapsulated STABS format for use only with GDB. See the discussion of the `--with-stabs' option of `configure' above for more information on these formats and how to select them. There is a bug in DEC's assembler that produces incorrect line numbers for ECOFF format when the `.align' directive is used. To work around this problem, GNU CC will not emit such alignment directives while writing ECOFF format debugging information even if optimization is being performed. Unfortunately, this has the very undesirable side-effect that code addresses when `-O' is specified are different depending on whether or not `-g' is also specified. To avoid this behavior, specify `-gstabs+' and use GDB instead of DBX. DEC is now aware of this problem with the assembler and hopes to provide a fix shortly.`arc-*-elf' Argonaut ARC processor. This configuration is intended for embedded systems.`arm-*-aout' Advanced RISC Machines ARM-family processors. These are often used in embedded applications. There are no standard Unix configurations. This configuration corresponds to the basic instruction sequences and will produce `a.out' format object modules. You may need to make a variant of the file `arm.h' for your particular configuration.`arm-*-linuxaout' Any of the ARM family processors running the Linux-based GNU system with the `a.out' binary format (ELF is not yet supported). You must use version 2.8.1.0.7 or later of the GNU/Linux binutils, which you can download from `sunsite.unc.edu:/pub/Linux/GCC' and other mirror sites for Linux-based GNU systems.`arm-*-riscix' The ARM2 or ARM3 processor running RISC iX, Acorn's port of BSD Unix. If you are running a version of RISC iX prior to 1.2 then you must specify the version number during configuration. Note that the assembler shipped with RISC iX does not support stabs debugging information; a new version of the assembler, with stabs support included, is now available from Acorn and via ftp `ftp.acorn.com:/pub/riscix/as+xterm.tar.Z'. To enable stabs debugging, pass `--with-gnu-as' to configure. You will need to install GNU `sed' before you can run configure.`a29k' AMD Am29k-family processors. These are normally used in embedded applications. There are no standard Unix configurations. This configuration corresponds to AMD's standard calling sequence and binary interface and is compatible with other 29k tools. You may need to make a variant of the file `a29k.h' for your particular configuration.`a29k-*-bsd' AMD Am29050 used in a system running a variant of BSD Unix.`decstation-*' DECstations can support three different personalities: Ultrix, DEC OSF/1, and OSF/rose. To configure GCC for these platforms use the following configurations: `decstation-ultrix' Ultrix configuration. `decstation-osf1' Dec's version of OSF/1. `decstation-osfrose' Open Software Foundation reference port of OSF/1 which uses the OSF/rose object file format instead of ECOFF. Normally, you would not select this configuration. The MIPS C compiler needs to be told to increase its table size for switch statements with the `-Wf,-XNg1500' option in order to compile `cp/parse.c'. If you use the `-O2' optimization option, you also need to use `-Olimit 3000'. Both of these options are automatically generated in the `Makefile' that the shell script `configure' builds. If you override the `CC' make variable and use the MIPS compilers, you may need to add `-Wf,-XNg1500 -Olimit 3000'.`elxsi-elxsi-bsd' The Elxsi's C compiler has known limitations that prevent it from compiling GNU C. Please contact `mrs@cygnus.com' for more details.`dsp16xx' A port to the AT&T DSP1610 family of processors.`h8300-*-*' Hitachi H8/300 series of processors. The calling convention and structure layout has changed in release 2.6. All code must be recompiled. The calling convention now passes the first three arguments in function calls in registers. Structures are no longer a multiple of 2 bytes.`hppa*-*-*' There are several variants of the HP-PA processor which run a variety of operating systems. GNU CC must be configured to use the correct processor type and operating system, or GNU CC will not function correctly. The easiest way to handle this problem is to *not* specify a target when configuring GNU CC, the `configure' script will try to automatically determine the right processor type and operating system. `-g' does not work on HP-UX, since that system uses a peculiar debugging format which GNU CC does not know about. However, `-g' will work if you also use GAS and GDB in conjunction with GCC. We highly recommend using GAS for all HP-PA configurations. You should be using GAS-2.6 (or later) along with GDB-4.16 (or later). These can be retrieved from all the traditional GNU ftp archive sites. GAS will need to be installed into a directory before `/bin', `/usr/bin', and `/usr/ccs/bin' in your search path. You should install GAS before you build GNU CC. To enable debugging, you must configure GNU CC with the `--with-gnu-as' option before building.`i370-*-*' This port is very preliminary and has many known bugs. We hope to have a higher-quality port for this machine soon.`i386-*-linux-gnuoldld' Use this configuration to generate `a.out' binaries on Linux-based GNU systems if you do not have gas/binutils version 2.5.2 or later installed. This is an obsolete configuration.`i386-*-linux-gnuaout' Use this configuration to generate `a.out' binaries on Linux-based GNU systems. This configuration is being superseded. You must use gas/binutils version 2.5.2 or later.`i386-*-linux-gnu' Use this configuration to generate ELF binaries on Linux-based GNU systems. You must use gas/binutils version 2.5.2 or later.`i386-*-sco' Compilation with RCC is recommended. Also, it may be a good idea to link with GNU malloc instead of the malloc that comes with the system.`i386-*-sco3.2v4' Use this configuration for SCO release 3.2 version 4.`i386-*-sco3.2v5*' Use this for the SCO OpenServer Release family including 5.0.0, 5.0.2, 5.0.4, Internet FastStart 1.0, and Internet FastStart 1.1. GNU CC can generate ELF binaries (if you specify `-melf') or COFF binaries (the default). If you are going to build your compiler in ELF mode (once you have bootstrapped the first stage compiler) you *must* specify `-melf' as part of `CC', *not* `CFLAGS', for example as `CC="stage1/xgcc -melf -Bstage1/" '. If you do not do this, the bootstrap will generate incorrect versions of `libgcc.a'. You must have TLS597 (from ftp.sco.com/TLS) installed for ELF binaries to work correctly. Note that Open Server 5.0.2 *does* need TLS597 installed. *NOTE:* You must follow the instructions about invoking `make bootstrap' because the native OpenServer compiler builds a `cc1plus' that will not correctly parse many valid C++ programs. You must do a `make bootstrap' if you are building with the native compiler.`i386-*-isc' It may be a good idea to link with GNU malloc instead of the malloc that comes with the system. In ISC version 4.1, `sed' core dumps when building `deduced.h'. Use the version of `sed' from version 4.0.`i386-*-esix' It may be good idea to link with GNU malloc instead of the malloc that comes with the system.`i386-ibm-aix' You need to use GAS version 2.1 or later, and LD from GNU binutils version 2.2 or later.`i386-sequent-bsd' Go to the Berkeley universe before compiling.`i386-sequent-ptx1*' Sequent DYNIX/ptx 1.x.`i386-sequent-ptx2*' Sequent DYNIX/ptx 2.x.`i386-sun-sunos4' You may find that you need another version of GNU CC to begin bootstrapping with, since the current version when built with the system's own compiler seems to get an infinite loop compiling part of `libgcc2.c'. GNU CC version 2 compiled with GNU CC (any
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?