* method.c (make_thunk): Avoid name buffer overflow.
[official-gcc.git] / INSTALL / specific.html
blob6faa1616080b0cb2cf6cdb1d2377313686696c99
1 <html>
2 <head>
3 <title>Host/Target specific installation notes for egcs-1.0.1 </title>
4 </head>
5 <body bgcolor="white">
6 <h1 align="center">Host/Target specific installation notes for egcs-1.0.1</h1>
8 <p><b>alpha*-*-*</b><br>
9 No specific installation needs/instructions.
12 <p><b>i?86-*-linux*</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.
26 <p><b>i?86-pc-solaris*</b><br>
27 You'll need a patch to fix an egcs bug on this platform.
28 <a href="http://www.cygnus.com/egcs/faq.html#x86solaris"> x86 solaris patch</a>
32 <p><b>hppa*-hp-hpux*</b><br>
33 We <b>highly</b> recommend using gas/binutils-2.8 on all hppa platforms; you
34 may encounter a variety of problems when using the HP assembler.
36 <p><b>hppa*-hp-hpux9</b><br>
37 The HP assembler has major problems on this platform. We've tried to work
38 around the worst of the problems. However, those workarounds may be causing
39 linker crashes in some circumstances; the workarounds also probably prevent
40 shared libraries from working. Use the GNU assembler to avoid these problems.
42 <br>The configuration scripts for egcs will also trigger a bug in the hpux9
43 shell. To avoid this problem set CONFIG_SHELL to /bin/ksh and SHELL to
44 /bin/ksh in your environment.
46 <p><b>hppa*-hp-hpux10</b><br>
47 For hpux10.20, we <b>highly</b> recommend you pick up the latest sed
48 patch from HP. HP has two sites which provide patches free of charge.
50 <br><a href="http://us-support.external.hp.com">US, Canada, Asia-Pacific, and
51 Latin-America</a>
52 <br><a href="http://europe-support.external.hp.com">Europe</a>
54 <p>Retrieve patch PHCO_12862.
56 <p>The HP assembler on these systems is much better than the hpux9 assembler,
57 but still has some problems. Most notably the assembler inserts timestamps
58 into each object file it creates, causing the 3-stage comparison test to fail
59 during a "make bootstrap". You should be able to continue by saying "make all"
60 after getting the failure from "make bootstrap".
62 <p><b>m68k-*-nextstep*</b><br>
63 You absolutely must use GNU sed and GNU make on this platform.
65 <p>If you try to build the integrated C++ & C++ runtime libraries on this system
66 you will run into trouble with include files. The way to get around this is
67 to use the following sequence. Note you must have write permission to
68 <i>prefix</i> for this sequence to work.
70 <p>cd <i>objdir</i><br>
71 make all-texinfo all-bison all-byacc all-binutils all-gas all-ld<br>
72 cd gcc<br>
73 make bootstrap<br>
74 make install-headers-tar<br>
75 cd ..<br>
76 make bootstrap3<br>
78 <p><b>m68k-sun-sunos4.1.1</b><br>
79 It is reported that you may need the GNU assembler on this platform.
81 <p><b>mips*-sgi-irix4</b><br>
82 <b>mips*-sgi-irix5</b><br>
83 You must use GAS on these platforms, the native assembler can not handle the
84 code for exception handling support on this platform.
86 <p>These systems don't have ranlib, which various components in egcs need; you
87 should be able to avoid this problem by installing GNU binutils, which includes
88 a functional ranlib for this system.
90 <p>You may get the following warning on irix4 platforms, it can be safely
91 ignored.
92 <pre>
93 warning: foo.o does not have gp tables for all its sections.
94 </pre>
96 <p><b>mips*-sgi-irix6</b><br>
97 You must not use GAS on irix6 platforms; doing so will only cause problems.
99 <p>These systems don't have ranlib, which various components in egcs need; you
100 should be able to avoid this problem by making a dummy script called ranlib
101 which just exits with zero status and placing it in your path.
103 <p><b>rs6000-ibm-aix*</b><br>
104 <b>powerpc-ibm-aix*</b><br>
105 At least one person as reported problems with older versions of gnu-make on
106 this platform. make-3.76 is reported to work correctly.
108 <p><b>powerpc-*-linux-gnu*</b><br>
109 You will need
110 <a href="ftp://ftp.yggdrasil.com/private/hjl">binutils-2.8.1.0.17</a> for
111 a working egcs. It is strongly recommended to recompile binutils with egcs
112 if you initially built it with gcc-2.7.2.*.
114 <p><b>sparc-unkonwn-linux-gnulibc1</b><br>
115 It has been reported that you might need binutils-2.8.1.0.17 for this
116 platform too.
117 <a href="ftp://ftp.yggdrasil.com/private/hjl">binutils-2.8.1.0.17</a>
120 exception handling
121 <p>XXX Linux stuff
122 -k encaps stuff
123 <hr>
124 <i>Last modified on Jan 2, 1998.</i>
126 </body>
127 </html>