Installation stuff.
[official-gcc.git] / INSTALL / specific.html
blob894c1c49e2f54f9ff503cd3b8311211afed449d1
1 <html>
2 <head>
3 <title>Host/Target specific installation notes for egcs-1.00 </title>
4 </head>
5 <body bgcolor="white">
6 <h1 align="center">Host/Target specific installation notes for egcs-1.00</h1>
8 <p><b>alpha*-*-*</b><br>
9 No specific installation needs/instructions.
12 <p><b>i?86-*-linux-gnulibc1</b><br>
13 You will need binutils-2.8.1.0.15 or newer for exception handling to work.
15 <p><b>i?86-*-sco3.2v5*</b><br>
16 The SCO assembler is currently required. The GNU assembler is not up
17 to the task of switching between ELF and COFF at runtime.
19 <br>Unlike various prereleases of GCC, that used '-belf' and defaulted to
20 COFF, you must now use the '-melf' and '-mcoff' flags to toggle between
21 the two object file formats. ELF is now the default.
23 <br>Look in gcc/config/i386/sco5.h (search for "messy") for additional
24 OpenServer-specific flags.
28 <p><b>hppa*-hp-hpux*</b><br>
29 We <b>highly</b> recommend using gas/binutils-2.8 on all hppa platforms; you
30 may encounter a variety of problems when using the HP assembler.
32 XXX How to make sure gcc finds/uses gas.
34 <p><b>hppa*-hp-hpux9</b><br>
35 The HP assembler has major problems on this platform. We've tried to work
36 around the worst of the problems. However, those workarounds may be causing
37 linker crashes in some circumstances; the workarounds also probably prevent
38 shared libraries from working. Use the GNU assembler to avoid these problems.
40 <br>The configuration scripts for egcs will also trigger a bug in the hpux9
41 shell. To avoid this problem set CONFIG_SHELL to /bin/ksh and SHELL to
42 /bin/ksh in your environment.
44 <p><b>hppa*-hp-hpux10</b><br>
45 For hpux10.20, we <b>highly</b> recommend you pick up the latest sed
46 patch from HP. HP has two sites which provide patches free of charge.
48 <br><a href="http://us-support.external.hp.com">US, Canada, Asia-Pacific, and
49 Latin-America</a>
50 <br><a href="http://europe-support.external.hp.com">Europe</a>
52 <p>Retrieve patch PHCO_12862.
54 <p>The HP assembler on these systems is much better than the hpux9 assembler,
55 but still has some problems. Most notably the assembler inserts timestamps
56 into each object file it creates, causing the 3-stage comparison test to fail
57 during a "make bootstrap". You should be able to continue by saying "make all"
58 after getting the failure from "make bootstrap".
60 <p><b>m68k-*-nextstep*</b><br>
61 You absolutely must use GNU sed and GNU make on this platform.
63 If you try to build the integrated C++ & C++ runtime libraries on this system
64 you will run into trouble with include files. The way to get around this is
65 to use the following sequence.
66 <p>cd <i>objdir</i><br>
67 make all-texinfo all-bison all-byacc all-binutils all-gas all-ld<br>
68 cd gcc<br>
69 make bootstrap<br>
70 make install-headers-tar<br>
71 cd ..<br>
72 make bootstrap3<br>
74 <p><b>mips*-sgi-irix4</b><br>
75 <p><b>mips*-sgi-irix5</b><br>
76 You must use GAS on these platforms, the native assembler can not handle the
77 code for exception handling support on this platform.
79 These systems don't have ranlib, which various components in egcs need; you
80 should be able to avoid this problem by installing GNU binutils, which includes
81 a functional ranlib for this system.
83 <p>You may get the following warning on irix4 platforms, it can be safely
84 ignored.
85 <pre>
86 warning: foo.o does not have gp tables for all its sections.
87 </pre>
89 <p><b>powerpc-*-linux-gnu*</b><br>
90 You will need
91 <a href="ftp://ftp.yggdrasil.com/private/hjl">binutils-2.8.1.0.17</a> for
92 a working egcs. It is strongly recommended to recompile binutils with egcs
93 if you initially built it with gcc-2.7.2.*.
95 <p>
96 exception handling
97 <p>XXX Linux stuff
98 -k encaps stuff
99 <hr>
100 <i>Last modified on December 1, 1997.</i>
102 </body>
103 </html>