@@ -45,8 +45,8 @@ and includes all the necessary compilation tools and libraries.
45
45
what your configuration is or guesses wrong.
46
46
47
47
In those cases, specify the build machine's "configuration name"
48
- with the `--build ' option; the host and target will default to be
49
- the same as the build machine. (If you are building a
48
+ with the `--host ' option; the host and target will default to be
49
+ the same as the host machine. (If you are building a
50
50
cross-compiler, see *Note Cross-Compiler::.)
51
51
52
52
Here is an example:
@@ -422,12 +422,12 @@ and includes all the necessary compilation tools and libraries.
422
422
This copies the files `cc1', `cpp' and `libgcc.a' to files `cc1',
423
423
`cpp' and `libgcc.a' in the directory
424
424
`/usr/local/lib/gcc-lib/TARGET/VERSION', which is where the
425
- compiler driver program looks for them. Here TARGET is the target
426
- machine type specified when you ran `configure', and VERSION is
427
- the version number of GNU CC. This naming scheme permits various
428
- versions and/or cross-compilers to coexist. It also copies the
429
- executables for compilers for other languages (e.g., `cc1plus' for
430
- C++) to the same directory.
425
+ compiler driver program looks for them. Here TARGET is the
426
+ canonicalized form of target machine type specified when you ran
427
+ `configure', and VERSION is the version number of GNU CC. This
428
+ naming scheme permits various versions and/or cross-compilers to
429
+ coexist. It also copies the executables for compilers for other
430
+ languages (e.g., `cc1plus' for C++) to the same directory.
431
431
432
432
This also copies the driver program `xgcc' into
433
433
`/usr/local/bin/gcc', so that it appears in typical execution
@@ -454,8 +454,13 @@ and includes all the necessary compilation tools and libraries.
454
454
library. All I/O functionality, special class libraries, etc., are
455
455
provided by the C++ runtime library.
456
456
457
- Here's one way to build and install a C++ runtime library for GNU
458
- CC:
457
+ The standard C++ runtime library for GNU CC is called `libstdc++'.
458
+ An obsolescent library `libg++' may also be available, but it's
459
+ necessary only for older software that hasn't been converted yet;
460
+ if you don't know whether you need `libg++' then you probably don't
461
+ need it.
462
+
463
+ Here's one way to build and install `libstdc++' for GNU CC:
459
464
460
465
* Build and install GNU CC, so that invoking `gcc' obtains the
461
466
GNU CC that was just built.
@@ -731,9 +736,10 @@ special things you must know:
731
736
AMD Am29050 used in a system running a variant of BSD Unix.
732
737
733
738
`decstation-*'
734
- DECstations can support three different personalities: Ultrix, DEC
735
- OSF/1, and OSF/rose. To configure GCC for these platforms use the
736
- following configurations:
739
+ MIPS-based DECstations can support three different personalities:
740
+ Ultrix, DEC OSF/1, and OSF/rose. (Alpha-based DECstation products
741
+ have a configuration name beginning with `alpha-dec'.) To
742
+ configure GCC for these platforms use the following configurations:
737
743
738
744
`decstation-ultrix'
739
745
Ultrix configuration.
@@ -825,16 +831,12 @@ special things you must know:
825
831
Use this for the SCO OpenServer Release family including 5.0.0,
826
832
5.0.2, 5.0.4, Internet FastStart 1.0, and Internet FastStart 1.1.
827
833
828
- GNU CC can generate ELF binaries (if you specify `-melf') or COFF
829
- binaries (the default). If you are going to build your compiler
830
- in ELF mode (once you have bootstrapped the first stage compiler)
831
- you *must* specify `-melf' as part of `CC', *not* `CFLAGS', for
832
- example as `CC="stage1/xgcc -melf -Bstage1/" '. If you do not do
833
- this, the bootstrap will generate incorrect versions of `libgcc.a'.
834
+ GNU CC can generate either ELF or COFF binaries. ELF is the
835
+ default. To get COFF output, you must specify `-mcoff' on the
836
+ command line.
834
837
835
- You must have TLS597 (from ftp.sco.com/TLS) installed for ELF
836
- binaries to work correctly. Note that Open Server 5.0.2 *does*
837
- need TLS597 installed.
838
+ For 5.0.0 and 5.0.2, you must install TLS597 from ftp.sco.com/TLS.
839
+ 5.0.4 and later do not require this patch.
838
840
839
841
*NOTE:* You must follow the instructions about invoking `make
840
842
bootstrap' because the native OpenServer compiler builds a
@@ -943,7 +945,7 @@ special things you must know:
943
945
`m68000-hp-bsd'
944
946
HP 9000 series 200 running BSD. Note that the C compiler that
945
947
comes with this system cannot compile GNU CC; contact
946
- `law@cs.utah.edu ' to get binaries of GNU CC for bootstrapping.
948
+ `law@cygnus.com ' to get binaries of GNU CC for bootstrapping.
947
949
948
950
`m68k-altos'
949
951
Altos 3068. You must use the GNU assembler, linker and debugger.
@@ -1237,13 +1239,15 @@ special things you must know:
1237
1239
xlc-1.2.1.8, xlc-1.3.0.0 (distributed with AIX 3.2.5), and
1238
1240
xlc-1.3.0.19. Both xlc-1.2.1.28 and xlc-1.3.0.24 (PTF 432238) are
1239
1241
known to produce working versions of GNU CC, but most other recent
1240
- releases correctly bootstrap GNU CC. Also, releases of AIX prior
1241
- to AIX 3.2.4 include a version of the IBM assembler which does not
1242
- accept debugging directives: assembler updates are available as
1243
- PTFs. Also, if you are using AIX 3.2.5 or greater and the GNU
1244
- assembler, you must have a version modified after October 16th,
1245
- 1995 in order for the GNU C compiler to build. See the file
1246
- `README.RS6000' for more details on of these problems.
1242
+ releases correctly bootstrap GNU CC.
1243
+
1244
+ Release 4.3.0 of AIX and ones prior to AIX 3.2.4 include a version
1245
+ of the IBM assembler which does not accept debugging directives:
1246
+ assembler updates are available as PTFs. Also, if you are using
1247
+ AIX 3.2.5 or greater and the GNU assembler, you must have a
1248
+ version modified after October 16th, 1995 in order for the GNU C
1249
+ compiler to build. See the file `README.RS6000' for more details
1250
+ on any of these problems.
1247
1251
1248
1252
GNU CC does not yet support the 64-bit PowerPC instructions.
1249
1253
@@ -1734,8 +1738,13 @@ must specify a 68030 as the host when you configure it.
1734
1738
Installing GNU CC on the Sun
1735
1739
============================
1736
1740
1737
- On Solaris (version 2.1), do not use the linker or other tools in
1738
- `/usr/ucb' to build GNU CC. Use `/usr/ccs/bin'.
1741
+ On Solaris, do not use the linker or other tools in `/usr/ucb' to
1742
+ build GNU CC. Use `/usr/ccs/bin'.
1743
+
1744
+ If the assembler reports `Error: misaligned data' when bootstrapping,
1745
+ you are probably using an obsolete version of the GNU assembler.
1746
+ Upgrade to the latest version of GNU `binutils', or use the Solaris
1747
+ assembler.
1739
1748
1740
1749
Make sure the environment variable `FLOAT_OPTION' is not set when
1741
1750
you compile `libgcc.a'. If this option were set to `f68881' when
0 commit comments