summaryrefslogtreecommitdiff
path: root/gnu/egcs/install/SPECIFIC
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-01-29 15:27:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-01-29 15:27:28 +0000
commitfbbd8adf8ad208245f18c2e4a068810b9c401242 (patch)
tree13008452e954d3f8bced87002eda49ce086db406 /gnu/egcs/install/SPECIFIC
parent82acc2c5e72b389f6c60f8d6f0652eb24d8bb831 (diff)
2.95.3, test release 2
Diffstat (limited to 'gnu/egcs/install/SPECIFIC')
-rw-r--r--gnu/egcs/install/SPECIFIC542
1 files changed, 292 insertions, 250 deletions
diff --git a/gnu/egcs/install/SPECIFIC b/gnu/egcs/install/SPECIFIC
index 54c9a8f6c55..9cadc511a7f 100644
--- a/gnu/egcs/install/SPECIFIC
+++ b/gnu/egcs/install/SPECIFIC
@@ -1,83 +1,60 @@
Host/Target specific installation notes for GCC
-
+
Please read this document carefully _before_ installing the GNU
Compiler Collection on your machine.
* [1]alpha*-dec-linux*
* [2]alpha*-dec-osf*
- * [3]GCC with DOS
+ * [3]DOS
* [4]hppa*-hp-hpux*
* [5]hppa*-hp-hpux9
* [6]hppa*-hp-hpux10
- * [7]i?86-*-linux*
- * [8]i?86-*-sco3.2v5*
- * [9]i?86-*-udk
- * [10]*-ibm-aix*
- * [11]m68k-*-nextstep*
- * [12]m68k-sun-sunos4.1.1
- * [13]mips*-sgi-irix[45]
- * [14]mips*-sgi-irix6
- * [15]powerpc-*-linux-gnu*
- * [16]*-*-solaris*
- * [17]sparc-sun-solaris*
- * [18]sparc-sun-solaris2.7
- * [19]Sun V5.0 Compiler Bugs
- * [20]sparc-sun-sunos*
- * [21]sparc-unknown-linux-gnulibc1
- * [22]sparc64-*-*
- * [23]GCC with Windows or OS/2
-
- * [24]all ELF targets (SVR4, Solaris, etc.)
+ * [7]hppa*-hp-hpux11
+ * [8]*-*-linux-gnu
+ * [9]i?86-*-linux*
+ * [10]i?86-*-sco3.2v5*
+ * [11]i?86-*-solaris*
+ * [12]i?86-*-udk
+ * [13]*-ibm-aix*
+ * [14]m68k-*-nextstep*
+ * [15]m68k-sun-sunos4.1.1
+ * [16]mips*-sgi-irix[45]
+ * [17]mips*-sgi-irix6
+ * [18]powerpc-*-linux-gnu*
+ * [19]*-*-solaris*
+ * [20]sparc-sun-solaris*
+ * [21]sparc-sun-solaris2.7
+ * [22]Sun V5.0 Compiler Bugs
+ * [23]sparc-sun-sunos*
+ * [24]sparc-unknown-linux-gnulibc1
+ * [25]sparc64-*-*
+ * [26]Microsoft Windows
+ * [27]OS/2
+
+ * [28]all ELF targets (SVR4, Solaris, etc.)
_________________________________________________________________
-
+
alpha*-dec-linux*
-
- GNU/Linux Alpha EV56 or PCA56 hosts running Red Hat 4.2 or 5.0 may see
- errors of this sort:
- Error: Unknown pseudo-op: `.arch'
-
- This is a signal that a new assembler is needed if you want to
- generate BWX insns for your machine.
-
- The version of GCC shipped with Red Hat 4.2 (2.7.0.2) has a fault
- wherein it will silently generate incorrect code. The version shipped
- with Red Hat 5.0 (2.8.0.1) is not broken, but required an extra
- -m21164a argument on the command-line. In order to visibly trap
- 2.7.0.2, I now issue DEC's .arch pseudo into the assembly. Relieving
- the problem of mucking with command-line arguments for 2.8.0.1 is a
- pleasant side effect.
-
- If you've got Red Hat 5.0 installed, you may grab binutils 2.9.1 and
- be happy. If you've got Red Hat 4.2, bugs make it much harder to
- upgrade pieces on your own, and you are better off upgrading the
- entire system.
-
- In either case, your problem may be bypassed by not emitting BWX code
- by default. Do this by using
- configure alphaev5-unknown-linux-gnulibc1
-
- if you have RH 4.2, or
- configure alphaev5-unknown-linux-gnu
-
- if you have RH 5.0.
-
+
+ We strongly recommend to upgrade to binutils 2.10 (or newer).
+
The following error:
Error: macro requires $at register while noat in effect
- also indicates that you should upgrade to a newer version of the
- assembler, 2.9 or later. If you can not upgrade the assembler, the
- compiler option "-Wa,-m21164a" may work around this problem.
+ indicates that you should upgrade to a newer version of the assembler,
+ 2.9 or later. If you can not upgrade the assembler, the compiler
+ option "-Wa,-m21164a" may work around this problem.
_________________________________________________________________
-
+
alpha*-dec-osf*
-
+
If you install a shared libstdc++ and, when you link a non-trivial C++
program (for example, gcc/testsuite/g++.other/delete3.C), the linker
reports a couple of errors about multiply-defined symbols (for
example, nothrow, __throw and terminate(void)), you've probably got a
linker bug, for which there's no known fix. The officially recommended
work-around is to remove the shared libstdc++.
-
+
An alternative solution is to arrange that all symbols from libgcc get
copied to the shared libstdc++; see detailed solution below.
(Surprising as it may seem, this does indeed fix the problem!) _Beware_
@@ -86,59 +63,66 @@
if programs start to depend on libstdc++ to provide symbols that used
to be only in libgcc, you must arrange that libstdc++ keeps providing
them, otherwise the programs will have to be relinked.
-
+
The magic spell is to add -Wl,-all,-lgcc,-none to the definition of
macro SHDEPS in libstdc++/config/dec-osf.ml _before_
- alpha*-dec-osf*/libstdc++/Makefile is created (a [25]patch that does
+ alpha*-dec-osf*/libstdc++/Makefile is created (a [29]patch that does
just that is available). If the Makefile already exists, run
./config.status within directory alpha*-dec-osf*/libstdc++ (and
alpha*-dec-osf*/ieee/libstdc++, if it also exists). Remove any
existing libstdc++.so* from such directories, and run make
all-target-libstdc++ in the top-level directory, then make
install-target-libstdc++.
-
+
If you have already removed the build tree, you may just remove
libstdc++.so.2.10.0 from the install tree and re-create it with the
command gcc -shared -o libstdc++.so.2.10.0
-Wl,-all,-lstdc++,-lgcc,-none -lm. If the ieee sub-directory exists,
repeat this command in it, with the additional flag -mieee.
_________________________________________________________________
-
- GCC with DOS
-
- A binary distribution is available at [26]Simtel.Net and its mirrors.
- ________________________________________________________________________
-
+
+ DOS
+
+ Please have a look at our [30]binaries page.
+ _________________________________________________________________
+
hppa*-hp-hpux*
-
- We _highly_ recommend using gas/binutils-2.8 or newer on all hppa platforms;
- you may encounter a variety of problems when using the HP assembler.
-
- If you wish to use pa-risc 2.0 architecture support, you must use either the
- HP assembler or a recent [27]snapshot of gas.
-
- More specific information to hppa*-hp-hpux* targets follows.
- ________________________________________________________________________
-
+
+ We _highly_ recommend using gas/binutils-2.8 or newer on all hppa
+ platforms; you may encounter a variety of problems when using the HP
+ assembler.
+
+ Specifically, -g does not work on HP-UX (since that system uses a
+ peculiar debugging format which GCC does not know about), unless you
+ use GAS and GDB and configure GCC with the --with-gnu-as option.
+
+ If you wish to use pa-risc 2.0 architecture support, you must use
+ either the HP assembler or a recent [31]snapshot of gas.
+
+ More specific information to hppa*-hp-hpux* targets follows.
+ _________________________________________________________________
+
hppa*-hp-hpux9
-
- The HP assembler has major problems on this platform. We've tried to work
- around the worst of the problems. However, those workarounds may be causing
- linker crashes in some circumstances; the workarounds also probably prevent
- shared libraries from working. Use the GNU assembler to avoid these problems.
-
- The configuration scripts for GCC will also trigger a bug in the hpux9 shell.
- To avoid this problem set CONFIG_SHELL to /bin/ksh and SHELL to /bin/ksh in
- your environment.
- ________________________________________________________________________
-
+
+ The HP assembler has major problems on this platform. We've tried to
+ work around the worst of the problems. However, those workarounds may
+ be causing linker crashes in some circumstances; the workarounds also
+ probably prevent shared libraries from working. Use the GNU assembler
+ to avoid these problems.
+
+ The configuration scripts for GCC will also trigger a bug in the hpux9
+ shell. To avoid this problem set CONFIG_SHELL to /bin/ksh and SHELL to
+ /bin/ksh in your environment.
+ _________________________________________________________________
+
hppa*-hp-hpux10
-
- For hpux10.20, we _highly_ recommend you pick up the latest sed patch
- PHCO_15468 from HP. HP has two sites which provide patches free of charge:
- * [28]US, Canada, Asia-Pacific, and Latin-America
- * [29]Europe
-
+
+ For hpux10.20, we _highly_ recommend you pick up the latest sed patch
+ PHCO_19798 from HP. HP has two sites which provide patches free of
+ charge:
+ * [32]US, Canada, Asia-Pacific, and Latin-America
+ * [33]Europe
+
The HP assembler on these systems is much better than the hpux9
assembler, but still has some problems. Most notably the assembler
inserts timestamps into each object file it creates, causing the
@@ -146,25 +130,40 @@
be able to continue by saying `make all' after getting the failure
from `make bootstrap'.
_________________________________________________________________
-
+
+ hppa*-hp-hpux11
+
+ GCC 2.95.2 does not support HP-UX 11, and it cannot generate 64-bit
+ object files. Current (as of late 2000) snapshots and GCC 3.0 do
+ support HP-UX 11.
+ _________________________________________________________________
+
+ *-*-linux-gnu
+
+ If you use glibc 2.2 (or 2.1.9x), GCC 2.95.2 won't install
+ out-of-the-box. You'll get compile errors while building libstdc++.
+ The patch [34]glibc-2.2.patch, that is to be applied in the GCC source
+ tree, fixes the compatibility problems.
+ _________________________________________________________________
+
i?86-*-linux*
-
+
You will need binutils-2.9.1.0.15 or newer for exception handling to
work.
-
+
If you receive Signal 11 errors when building on GNU/Linux, then it is
possible you have a hardware problem. Further information on this can
- be found on [30]www.bitwizard.nl.
+ be found on [35]www.bitwizard.nl.
_________________________________________________________________
-
+
i?86-*-sco3.2v5*
-
+
If you are building languages other than C, you must follow the
instructions about invoking `make bootstrap' because the native
OpenServer compiler will build a cc1plus that will not correctly parse
many valid C++ programs including those in libgcc.a. _You must do a
`make bootstrap' if you are building with the native compiler._
-
+
Use of the `-march-pentiumpro' flag can result in unrecognized opcodes
when using the native assembler. While it's rather rare to see these
emitted by GCC yet, errors of the basic form:
@@ -174,56 +173,65 @@
are symptoms of this problem. You may work around this by not building
affected files with that flag or by using the GNU assembler. Users of
GNU assembler should see the note below for hazards on doing so.
-
+
If you choose to configure with --enable-shared you should also
- specificy --with-gnu-as --disable-multilib even if you are not using
- the GNU assembler. In doing so you will give up the ability to
- generate COFF executables as described below. This combination of
- flags is necessary to suppress negative interactions with multilibing.
-
+ specify --with-gnu-as --disable-multilib even if you are not using the
+ GNU assembler. In doing so you will give up the ability to generate
+ COFF executables as described below. This combination of flags is
+ necessary to suppress negative interactions with multilibing.
+
The native SCO assembler that is provided with the OS at no charge is
normally required. If, however, you must be able to use the GNU
- assembler you may configure this package using the flags
- --with-gnu-as. You must use a recent version of GNU binutils; version
- 2.9.1 seems to work well. If you select this option, you will be
- unable to reliably build COFF images. In general, the --with-gnu-as
- option isn't as well tested as the native assembler.
-
+ assembler (perhaps you're compiling code with asms that require GAS
+ syntax) you may configure this package using the flags --with-gnu-as.
+ You must use a recent version of GNU binutils; versions past 2.9.1
+ seems to work well. If you select this option, you will be unable to
+ reliably build COFF images. In general, the --with-gnu-as option isn't
+ as well tested as the native assembler.
+
Unlike various prereleases of GCC that used -belf and defaulted to
COFF, you must now use the -melf and -mcoff flags to toggle between
the two object file formats. ELF is now the default.
-
+
Look in gcc/config/i386/sco5.h (search for "messy") for additional
OpenServer-specific flags.
-
+
Systems based on OpenServer before 5.0.4 (`uname -X' will tell you
what you're running) require TLS597 from ftp.sco.com/TLS for C++
constructors and destructors to work right.
-
+
The system linker in (at least) 5.0.4 and 5.0.5 will sometimes do the
wrong thing for a construct that GCC will emit for PIC code. This can
be seen as execution testsuite failures when using -fPIC on
921215-1.c, 931002-1.c, nestfunc-1.c, and gcov-1.c. For 5.0.5, an
updated linker that will cure this problem is available. You must
- install both [31]ftp://ftp.sco.com/Supplements/rs505a/ and
- [32]OSS499A.
-
+ install both [36]ftp://ftp.sco.com/Supplements/rs505a/ and
+ [37]OSS499A.
+
The dynamic linker in OpenServer 5.0.5 (earlier versions may show the
same problem) aborts on certain g77-compiled programs. It's
- particluarly likely to be triggered by building Fortran code with the
+ particularly likely to be triggered by building Fortran code with the
-fPIC flag. Although it's conceivable that the error could be
triggered by other code, only G77-compiled code has been observed to
cause this abort. If you are getting core dumps immediately upon
execution of your g77 program - and especially if it's compiled with
- -fPIC - try applying [33]`sco_osr5_g77.patch' to your libf2c and
+ -fPIC - try applying [38]`sco_osr5_g77.patch' to your libf2c and
rebuilding GCC. Affected faults, when analyzed in a debugger, will
show a stack backtrace with a fault occurring in rtld() and the
program running as /usr/lib/ld.so.1. This problem has been reported to
SCO engineering and will hopefully be addressed in later releases.
_________________________________________________________________
-
+
+ i?86-*-solaris*
+
+ GCC 2.95.2, when configured to use the GNU assembler, would invoke it
+ with the -s switch, that GNU as up to 2.9.5.0.12 does not support. If
+ you'd rather not use a newer GNU as nor the native assembler, you'll
+ need the patch [39]`x86-sol2-gas.patch'.
+ _________________________________________________________________
+
i?86-*-udk
-
+
This target emulates the SCO Universal Development Kit and requires
that package be installed. (If it is installed, you will have a
/udk/usr/ccs/bin/cc file present.) It's very much like the
@@ -232,35 +240,35 @@
Unixware 2. This target will generate binaries that will run on
OpenServer, Unixware 2, or Unixware 7, with the same warnings and
caveats as the SCO UDK.
-
+
You can stage1 with either your native compiler or with UDK. If you
don't do a full bootstrap when initially building with your native
compiler you will have an utterly unusable pile of bits as your
reward.
-
+
This target is a little tricky to build because we have to distinguish
it from the native tools (so it gets headers, startups, and libraries
from the right place) while making the tools not think we're actually
building a cross compiler. The easiest way to do this is with a
configure command like this:
CC=/udk/usr/ccs/bin/cc _/your/path/to/_gcc/configure --host=i686-pc-udk --tar
-get=i686-pc-udk --exec-prefix=udk-
+get=i686-pc-udk --program-prefix=udk-
_You should substitute 'i686' in the above command with the
appropriate processor for your host._
-
+
You should follow this with a `make bootstrap' then `make install'.
You can then access the UDK-targeted GCC tools by adding udk- before
the commonly known name. For example, to invoke the C compiler, you
would use `udk-gcc'. They will coexist peacefully with any
native-target GCC tools you may have installed.
_________________________________________________________________
-
+
*-ibm-aix*
-
+
AIX Make frequently has problems with GCC makefiles. GNU Make 3.76 or
newer is recommended to build on this platform.
-
+
Errors involving "alloca" when building GCC generally are due to an
incorrect definition of CC in the Makefile or mixing files compiled
with the native C compiler and GCC. During the stage1 phase of the
@@ -270,19 +278,19 @@ get=i686-pc-udk --exec-prefix=udk-
environment variable does not provide a definition that will confuse
configure. If this error occurs during stage2 or later, then the
problem most likely is the version of Make (see above).
-
+
Some versions of the AIX binder (linker) can fail with a relocation
overflow severe error when the -bbigtoc option is used to link
GCC-produced object files into an executable that overflows the TOC. A
fix for APAR IX75823 (OVERFLOW DURING LINK WHEN USING GCC AND
-BBIGTOC) is available from IBM Customer Support and from its
- [34]service.boulder.ibm.com website as PTF U455193.
-
+ [40]service.boulder.ibm.com website as PTF U455193.
+
Binutils does not support AIX 4.3 (at least through release 2.9). GNU
as and GNU ld will not work properly and one should not configure GCC
to use those GNU utilities. Use the native AIX tools which do
interoperate with GCC.
-
+
AIX 4.3 utilizes a new "large format" archive to support both 32-bit
and 64-bit object modules. The routines provided in AIX 4.3.0 and AIX
4.3.1 to parse archive libraries did not handle the new format
@@ -292,22 +300,24 @@ get=i686-pc-udk --exec-prefix=udk-
option of the archive command may be used to create archives of 32-bit
objects using the original "small format". A correct version of the
routines is shipped with AIX 4.3.2.
-
+
The initial assembler shipped with AIX 4.3.0 generates incorrect
- object files. A fix for APAR IX74254 (64BIT DISASSEMBLED OUPUT FROM
+ object files. A fix for APAR IX74254 (64BIT DISASSEMBLED OUTPUT FROM
COMPILER FAILS TO ASSEMBLE/BIND) is available from IBM Customer
- Support and from its [35]service.boulder.ibm.com website as PTF
+ Support and from its [41]service.boulder.ibm.com website as PTF
U453956. This fix is incorporated in AIX 4.3.1 and above.
-
+
The AIX 4.3.2.1 linker (bos.rte.bind_cmds Level 4.3.2.1) will dump
core with a segmentation fault when invoked by any version of GCC. A
- fix for APAR IX87327 will be available from IBM Customer Support.
+ fix for APAR IX87327 is available from IBM Customer Support and from
+ its [42]service.boulder.ibm.com website as PTF U461879. This fix is
+ incorporated in AIX 4.3.3 and above.
_________________________________________________________________
-
+
m68k-*-nextstep*
-
+
You absolutely _must_ use GNU sed and GNU make on this platform.
-
+
On NEXTSTEP 3.x where x < 3 the build of GCC will abort during stage1
with an error message like this:
_eh
@@ -318,17 +328,17 @@ get=i686-pc-udk --exec-prefix=udk-
The reason for this is the fact that NeXT's assembler for these
versions of the operating system does not support the .section pseudo
op that's needed for full C++ exception functionality.
-
+
As NeXT's assembler is a derived work from GNU as, a free replacement
that does can be obtained at
- [36]ftp://ftp.next.peak.org:/next-ftp/next/apps/devtools/as.3.3.NIHS.s
+ [43]ftp://ftp.next.peak.org:/next-ftp/next/apps/devtools/as.3.3.NIHS.s
.tar.gz.
-
+
If you try to build the integrated C++ & C++ runtime libraries on this
system you will run into trouble with include files. The way to get
around this is to use the following sequence. Note you must have write
- permission to the directory _prefix_ you secified in the configuration
- preocess of GCC for this sequence to work.
+ permission to the directory _prefix_ you specified in the
+ configuration process of GCC for this sequence to work.
cd bld-gcc
make all-texinfo all-bison all-byacc all-binutils all-gas all-ld
cd gcc
@@ -337,14 +347,14 @@ get=i686-pc-udk --exec-prefix=udk-
cd ..
make bootstrap3
_________________________________________________________________
-
+
m68k-sun-sunos4.1.1
-
+
It is reported that you may need the GNU assembler on this platform.
_________________________________________________________________
-
+
mips*-sgi-irix[45]
-
+
You must use GAS on these platforms, as the native assembler can not
handle the code for exception handling support. Either of these
messages indicates that you are using the MIPS assembler when instead
@@ -360,7 +370,7 @@ get=i686-pc-udk --exec-prefix=udk-
These systems don't have ranlib, which various components in GCC need;
you should be able to avoid this problem by installing GNU binutils,
which includes a functional ranlib for this system.
-
+
You may get the following warning on irix4 platforms, it can be safely
ignored.
warning: foo.o does not have gp tables for all its sections.
@@ -372,26 +382,40 @@ get=i686-pc-udk --exec-prefix=udk-
IRIX 5.2. We recommend you use GNU make instead of the vendor supplied
make program; however, you may have success with "smake" on IRIX 5.2
if you do not have GNU make available.
-
- See [37]http://reality.sgi.com/ariel/freeware for more information
+
+ See [44]http://reality.sgi.com/ariel/freeware for more information
about using GCC on IRIX platforms.
_________________________________________________________________
-
+
mips*-sgi-irix6
-
+
You must _not_ use GAS on irix6 platforms; doing so will only cause
problems.
-
+
These systems don't have ranlib, which various components in GCC need;
you should be able to avoid this problem by making a dummy script
called ranlib which just exits with zero status and placing it in your
path.
-
+
+ If you are using Irix cc as your bootstrap compiler, you must ensure
+ that the N32 ABI is in use. To test this, compile a simple C file with
+ cc and then run file on the resulting object file. The output should
+ look like:
+
+ test.o: ELF N32 MSB ...
+
+ If you see:
+
+ test.o: ELF 32-bit MSB
+
+ then your version of cc uses the O32 ABI default. You should set the
+ environment variable CC to 'cc -n32' before configuring GCC.
+
GCC does not currently support generating O32 ABI binaries in the
mips-sgi-irix6 configurations. It used to be possible to create a GCC
with O32 ABI only support by configuring it for the mips-sgi-irix5
target. See the link below for details.
-
+
GCC does not correctly pass/return structures which are smaller than
16 bytes and which are not 8 bytes. The problem is very involved and
difficult to fix. It affects a number of other targets also, but IRIX
@@ -400,62 +424,68 @@ get=i686-pc-udk --exec-prefix=udk-
padded at the wrong end, e.g. a 4 byte structure is loaded into the
lower 4 bytes of the register when it should be loaded into the upper
4 bytes of the register.
-
+
GCC is consistent with itself, but not consistent with the SGI C
- compiler [and the SGI supplied runtime libraries], so the only
+ compiler (and the SGI supplied runtime libraries), so the only
failures that can happen are when there are library functions that
take/return such structures. There are very few such library
functions. I can only recall seeing two of them: inet_ntoa, and
semctl.
-
- See [38]http://reality.sgi.com/ariel/freeware for more information
+
+ See [45]http://reality.sgi.com/ariel/freeware for more information
about using GCC on IRIX platforms.
_________________________________________________________________
-
+
powerpc-*-linux-gnu*
-
- You will need [39]binutils-2.9.4.0.8 or newer for a working GCC. It is
+
+ You will need [46]binutils-2.9.4.0.8 or newer for a working GCC. It is
strongly recommended to recompile binutils if you initially built it
with gcc-2.7.2.x.
_________________________________________________________________
-
+
*-*-solaris*
-
+
Starting with Solaris, Sun does not ship a C compiler any more. To
bootstrap and install GCC you first have to install a pre-built
- compiler, for example from [40]http://www.sunfreeware.com.
-
+ compiler, see our [47]binaries page for details.
+
Sun as 4.X is broken in that it cannot cope with long symbol names. A
- typical error message might look similiar to the following:
-
+ typical error message might look similar to the following:
+
/usr/ccs/bin/as: "/var/tmp/ccMsw135.s", line 11041: error: can't
compute value of an expression involving an external symbol.
-
- See the [41]How to work around too long C++ symbol names? FAQ entry
+
+ See the [48]How to work around too long C++ symbol names? FAQ entry
for further information.
-
+
Sun make in all known Solaris 1 (SunOS 4) and Solaris 2 releases has a
broken _VPATH_ mechanism, which means you must either:
* Use GNU make (recommended), _or:_
* Always build in the source directory, _or:_
* _(For GCC 2.95.1 only)_ apply the patches mentioned at
- [42]http://www.gnu.org/software/gcc/egcstensions.html#sun-make.
+ [49]http://www.gnu.org/software/gcc/extensions.html#sun-make.
_________________________________________________________________
-
+
sparc-sun-solaris*
-
+
binutils 2.9.1 has known bugs on this platform. We recommend to use
the vendor tools (Sun as, Sun ld) until these have been fixed.
+ Unfortunately, C++ shared libraries, including libstdc++, won't work
+ properly if assembled with Sun as: the linker will complain about
+ relocations in read-only sections, in the definition of virtual
+ tables. Some possible work-arounds: use some development release of
+ binutils, wait for the next stable binutils release or refrain from
+ creating C++ shared libraries.
_________________________________________________________________
-
+
sparc-sun-solaris2.7
-
+
Sun patch 107058-01 (1999-01-13) for SPARC Solaris 7 triggers a bug in
the dynamic linker. This problem (Sun bug 4210064) affects GCC 2.8 and
later, including all EGCS releases. Sun formerly recommended 107058-01
for all Solaris 7 users, but around 1999-09-01 it started to recommend
it only for people who use Sun's compilers.
-
+
Here are some workarounds to this problem:
* Do not install Sun patch 107058-01 until after Sun releases a
complete patch for bug 4210064. This is the simplest course to
@@ -477,62 +507,66 @@ get=i686-pc-udk --exec-prefix=udk-
-08 or later should fix the bug, but (as of 1999-10-06) it is
still being tested.
_________________________________________________________________
-
+
Sun V5.0 Compiler Bugs
-
- The Sun V5.0 compilers are known to mis-compile GCC, which in turn
- causes GCC to fail its bootstrap comparison test. We expect to have a
- workaround ready in time for GCC 2.95.2.
+
+ The Sun V5.0 compilers are known to mis-compile GCC 2.95 and GCC
+ 2.95.1, which in turn causes GCC to fail its bootstrap comparison
+ test. GCC 2.95.2 has a workaround.
_________________________________________________________________
-
+
sparc-sun-sunos*
-
+
A bug in the SunOS4 linker will cause it to crash when linking -fPIC
compiled objects (and will therefore not allow you to build shared
libraries).
-
+
To fix this problem you can either use the most recent version of
binutils or get the latest SunOS4 linker patch (patch ID 100170-10)
from Sun's patch site.
_________________________________________________________________
-
+
sparc-unknown-linux-gnulibc1
-
- It has been reported that you might need [43]binutils-2.8.1.0.23 for
+
+ It has been reported that you might need [50]binutils-2.8.1.0.23 for
this platform, too.
_________________________________________________________________
-
+
sparc64-*-*
-
+
GCC version 2.95 is not able to compile code correctly for sparc64
targets. Users of the Linux kernel, at least, can use the sparc32
program to start up a new shell invocation with an environment that
causes configure to recognize (via uname -a) the system as sparc-*-*
instead.
_________________________________________________________________
-
- GCC with Windows or OS/2
-
- GCC does not currently support Windows, either natively or with the
- cygwin32 dll. However Mumit Khan has been working on supporting
- Windows with GCC. You should check out his site if you're interested
- in Windows support. [44]GNU Win32 related projects
-
+
+ Microsoft Windows (32 bit)
+
+ GCC currently builds under the [51]Cygwin environment. However you
+ need to delete (or rename) the texinfo directory included with the GCC
+ sources. You will also need to configure with the option
+ --with-included-gettext.
+ _________________________________________________________________
+
+ OS/2
+
GCC does not currently support OS/2. However, Andrew Zabolotny has
- been working on a generic os/2 port with pgcc. The current code code
- can be found at [45]http://www.goof.com/pcg/os2/.
+ been working on a generic OS/2 port with pgcc. The current code code
+ can be found at [52]http://www.goof.com/pcg/os2/.
+
+ An older copy of GCC 2.8.1 is included with the EMX tools available at
+ [53]ftp://ftp.leo.org/pub/comp/os/os2/leo/devtools/emx+gcc/.
_________________________________________________________________
-
+
all ELF targets (SVR4, Solaris, etc.)
-
+
C++ support is significantly better on ELF targets if you use the GNU
linker; duplicate copies of inlines, vtables and template
instantiations will be discarded automatically.
_________________________________________________________________
-
- [46]Return to the GCC Installation page
-
- _Last modified on October 17, 1999._
+
+ [54]Return to the GCC Installation page
References
@@ -542,43 +576,51 @@ References
4. http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux*
5. http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux9
6. http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux10
- 7. http://gcc.gnu.org/install/specific.html#ix86-*-linux*
- 8. http://gcc.gnu.org/install/specific.html#ix86-*-sco3.2v5*
- 9. http://gcc.gnu.org/install/specific.html#ix86-*-udk
- 10. http://gcc.gnu.org/install/specific.html#*-ibm-aix*
- 11. http://gcc.gnu.org/install/specific.html#m68k-*-nextstep*
- 12. http://gcc.gnu.org/install/specific.html#m68k-sun-sunos4.1.1
- 13. http://gcc.gnu.org/install/specific.html#mips*-sgi-irix[45]
- 14. http://gcc.gnu.org/install/specific.html#mips*-sgi-irix6
- 15. http://gcc.gnu.org/install/specific.html#powerpc-*-linux-gnu*
- 16. http://gcc.gnu.org/install/specific.html#*-*-solaris*
- 17. http://gcc.gnu.org/install/specific.html#sparc-sun-solaris*
- 18. http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2.7
- 19. http://gcc.gnu.org/install/specific.html#sunv5
- 20. http://gcc.gnu.org/install/specific.html#sparc-sun-sunos*
- 21. http://gcc.gnu.org/install/specific.html#sparc-unknown-linux-gnulibc1
- 22. http://gcc.gnu.org/install/specific.html#sparc64-*-*
- 23. http://gcc.gnu.org/install/specific.html#win+os2
- 24. http://gcc.gnu.org/install/specific.html#elf_targets
- 25. http://gcc.gnu.org/install/dec-osf-shlibstdc++.patch
- 26. ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/
- 27. ftp://sourceware.cygnus.com/pub/binutils/snapshots
- 28. http://us-support.external.hp.com/
- 29. http://europe-support.external.hp.com/
- 30. http://www.bitwizard.nl/sig11/
- 31. ftp://ftp.sco.com/Supplements/rs505a/
- 32. ftp://ftp.sco.com/SLS/
- 33. http://gcc.gnu.org/install/sco_osr5_g77.patch
- 34. http://service.boulder.ibm.com/
- 35. http://service.boulder.ibm.com/
- 36. ftp://ftp.next.peak.org/next-ftp/next/apps/devtools/as.3.3.NIHS.s.tar.gz
- 37. http://reality.sgi.com/ariel/freeware/
- 38. http://reality.sgi.com/ariel/freeware/
- 39. ftp://ftp.varesearch.com/pub/support/hjl/binutils
- 40. http://www.sunfreeware.com/
- 41. http://gcc.gnu.org/faq.html#squangle
- 42. http://www.gnu.org/software/gcc/egcstensions.html#sun-make
- 43. ftp://ftp.yggdrasil.com/private/hjl
- 44. http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
- 45. http://www.goof.com/pcg/os2/
- 46. http://gcc.gnu.org/install/index.html
+ 7. http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux11
+ 8. http://gcc.gnu.org/install/specific.html#*-*-linux-gnu
+ 9. http://gcc.gnu.org/install/specific.html#ix86-*-linux*
+ 10. http://gcc.gnu.org/install/specific.html#ix86-*-sco3.2v5*
+ 11. http://gcc.gnu.org/install/specific.html#ix86-*-solaris*
+ 12. http://gcc.gnu.org/install/specific.html#ix86-*-udk
+ 13. http://gcc.gnu.org/install/specific.html#*-ibm-aix*
+ 14. http://gcc.gnu.org/install/specific.html#m68k-*-nextstep*
+ 15. http://gcc.gnu.org/install/specific.html#m68k-sun-sunos4.1.1
+ 16. http://gcc.gnu.org/install/specific.html#mips*-sgi-irix[45]
+ 17. http://gcc.gnu.org/install/specific.html#mips*-sgi-irix6
+ 18. http://gcc.gnu.org/install/specific.html#powerpc-*-linux-gnu*
+ 19. http://gcc.gnu.org/install/specific.html#*-*-solaris*
+ 20. http://gcc.gnu.org/install/specific.html#sparc-sun-solaris*
+ 21. http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2.7
+ 22. http://gcc.gnu.org/install/specific.html#sunv5
+ 23. http://gcc.gnu.org/install/specific.html#sparc-sun-sunos*
+ 24. http://gcc.gnu.org/install/specific.html#sparc-unknown-linux-gnulibc1
+ 25. http://gcc.gnu.org/install/specific.html#sparc64-*-*
+ 26. http://gcc.gnu.org/install/specific.html#windows
+ 27. http://gcc.gnu.org/install/specific.html#os2
+ 28. http://gcc.gnu.org/install/specific.html#elf_targets
+ 29. http://gcc.gnu.org/install/dec-osf-shlibstdc++.patch
+ 30. http://gcc.gnu.org/install/binaries.html
+ 31. ftp://sources.redhat.com/pub/binutils/snapshots
+ 32. http://us-support.external.hp.com/
+ 33. http://europe-support.external.hp.com/
+ 34. http://gcc.gnu.org/install/glibc-2.2.patch
+ 35. http://www.bitwizard.nl/sig11/
+ 36. ftp://ftp.sco.com/Supplements/rs505a/
+ 37. ftp://ftp.sco.com/SLS/
+ 38. http://gcc.gnu.org/install/sco_osr5_g77.patch
+ 39. http://gcc.gnu.org/install/x86-sol2-gas.patch
+ 40. http://service.boulder.ibm.com/
+ 41. http://service.boulder.ibm.com/
+ 42. http://service.boulder.ibm.com/
+ 43. ftp://ftp.next.peak.org/next-ftp/next/apps/devtools/as.3.3.NIHS.s.tar.gz
+ 44. http://reality.sgi.com/ariel/freeware/
+ 45. http://reality.sgi.com/ariel/freeware/
+ 46. ftp://ftp.varesearch.com/pub/support/hjl/binutils
+ 47. http://gcc.gnu.org/install/binaries.html
+ 48. http://gcc.gnu.org/faq.html#squangle
+ 49. http://www.gnu.org/software/gcc/extensions.html#sun-make
+ 50. ftp://ftp.yggdrasil.com/private/hjl
+ 51. http://www.cygwin.com/
+ 52. http://www.goof.com/pcg/os2/
+ 53. ftp://ftp.leo.org/pub/comp/os/os2/leo/devtools/emx+gcc/
+ 54. http://gcc.gnu.org/install/index.html