home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
gnu
/
gcc-2.6.3-bin.lha
/
GNU
/
info
/
gcc.info-6
(
.txt
)
< prev
next >
Wrap
GNU Info File
|
1994-12-23
|
49KB
|
879 lines
This is Info file gcc.info, produced by Makeinfo-1.55 from the input
file gcc.texi.
This file documents the use and the internals of the GNU compiler.
Published by the Free Software Foundation 675 Massachusetts Avenue
Cambridge, MA 02139 USA
Copyright (C) 1988, 1989, 1992, 1993, 1994 Free Software Foundation,
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of
this manual under the conditions for verbatim copying, provided also
that the sections entitled "GNU General Public License," "Funding for
Free Software," and "Protect Your Freedom--Fight `Look And Feel'" are
included exactly as in the original, and provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that the sections entitled "GNU General Public
License," "Funding for Free Software," and "Protect Your Freedom--Fight
`Look And Feel'", and this permission notice, may be included in
translations approved by the Free Software Foundation instead of in the
original English.
File: gcc.info, Node: Configurations, Next: Other Dir, Up: Installation
Configurations Supported by GNU CC
==================================
Here are the possible CPU types:
1750a, a29k, alpha, arm, cN, clipper, dsp16xx, elxsi, h8300,
hppa1.0, hppa1.1, i370, i386, i486, i860, i960, m68000, m68k, m88k,
mips, ns32k, powerpc, pyramid, romp, rs6000, sh, sparc, sparclite,
sparc64, vax, we32k.
Here are the recognized company names. As you can see, customary
abbreviations are used rather than the longer official names.
acorn, alliant, altos, apollo, att, bull, cbm, convergent, convex,
crds, dec, dg, dolphin, elxsi, encore, harris, hitachi, hp, ibm,
intergraph, isi, mips, motorola, ncr, next, ns, omron, plexus,
sequent, sgi, sony, sun, tti, unicom.
The company name is meaningful only to disambiguate when the rest of
the information supplied is insufficient. You can omit it, writing
just `CPU-SYSTEM', if it is not needed. For example, `vax-ultrix4.2'
is equivalent to `vax-dec-ultrix4.2'.
Here is a list of system types:
386bsd, aix, acis, amigados, aos, aout, bosx, bsd, clix, ctix,
cxux, dgux, dynix, ebmon, elf, esix, freebsd, hms, genix, gnu,
gnu/linux, hiux, hpux, iris, irix, isc, luna, lynxos, mach, minix,
msdos, mvs, netbsd, newsos, nindy, ns, osf, osfrose, ptx, riscix,
riscos, rtu, sco, solaris, sunos, sym, sysv, ultrix, unicos,
uniplus, unos, vms, vxworks, xenix.
You can omit the system type; then `configure' guesses the operating
system from the CPU and company.
You can add a version number to the system type; this may or may not
make a difference. For example, you can write `bsd4.3' or `bsd4.4' to
distinguish versions of BSD. In practice, the version number is most
needed for `sysv3' and `sysv4', which are often treated differently.
If you specify an impossible combination such as `i860-dg-vms', then
you may get an error message from `configure', or it may ignore part of
the information and do the best it can with the rest. `configure'
always prints the canonical name for the alternative that it used. GNU
CC does not support all possible alternatives.
Often a particular model of machine has a name. Many machine names
are recognized as aliases for CPU/company combinations. Thus, the
machine name `sun3', mentioned above, is an alias for `m68k-sun'.
Sometimes we accept a company name as a machine name, when the name is
popularly used for a particular machine. Here is a table of the known
machine names:
3300, 3b1, 3bN, 7300, altos3068, altos, apollo68, att-7300,
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,
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 company
name. If you want to install your own homemade configuration files,
you can use `local' as the company name to access them. If you use
configuration `CPU-local', the configuration name without the cpu prefix
is 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 or
special things you must know:
`1750a-*-*'
MIL-STD-1750A processors.
Starting with GCC 2.6.1, the MIL-STD-1750A cross configuration no
longer supports the Tektronix Assembler, but instead produces
output for `as1750', an assembler/linker available under the GNU
Public License for the 1750A. Contact *okellogg@salyko.cube.net*
for more details on obtaining `as1750'. 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:
`NREL'
The program code section.
`SREL'
The read/write (RAM) data section.
`KREL'
The read-only (ROM) constants section.
`IREL'
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.
There is a problem with long argument lists to functions. The
compiler aborts if the sum of space needed by all arguments
exceeds 14 words. This is because the arguments are passed in
registers (R0..R13) not on the stack, and there is a problem with
passing further arguments (i.e. beyond those in R0..R13) via the
stack.
If efficiency is less important than using long argument lists, you
can change the definition of the `FUNCTION_ARG' macro in
`config/1750/1750a.h' to always return zero. If you do that, GNU
CC will pass all parameters on the stack.
`alpha-*-osf1'
Systems using processors that implement the DEC Alpha architecture
and are running the OSF/1 operating system, for example the DEC
Alpha AXP systems. (VMS on the Alpha is not currently supported
by GNU 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 OSF/1, 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 OSF/1 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
use