]>
Commit | Line | Data |
---|---|---|
f2d76545 JL |
1 | <html> |
2 | <head> | |
3 | <title>Host/Target specific installation notes for egcs-1.0 </title> | |
4 | </head> | |
5 | <body bgcolor="white"> | |
6 | <h1 align="center">Host/Target specific installation notes for egcs-1.0</h1> | |
7 | ||
8 | <p><b>alpha*-*-*</b><br> | |
9 | No specific installation needs/instructions. | |
10 | ||
11 | ||
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. | |
14 | ||
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. | |
18 | ||
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. | |
22 | ||
23 | <br>Look in gcc/config/i386/sco5.h (search for "messy") for additional | |
24 | OpenServer-specific flags. | |
25 | ||
26 | ||
27 | ||
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. | |
31 | ||
32 | XXX How to make sure gcc finds/uses gas. | |
33 | ||
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. | |
39 | ||
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. | |
43 | ||
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. | |
47 | ||
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> | |
51 | ||
52 | <p>Retrieve patch PHCO_12862. | |
53 | ||
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". | |
59 | ||
60 | <p><b>m68k-*-nextstep*</b><br> | |
61 | You absolutely must use GNU sed and GNU make on this platform. | |
62 | ||
63 | <p>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. Note you must have write permission to | |
66 | <i>prefix</i> for this sequence to work. | |
67 | ||
68 | <p>cd <i>objdir</i><br> | |
69 | make all-texinfo all-bison all-byacc all-binutils all-gas all-ld<br> | |
70 | cd gcc<br> | |
71 | make bootstrap<br> | |
72 | make install-headers-tar<br> | |
73 | cd ..<br> | |
74 | make bootstrap3<br> | |
75 | ||
76 | <p><b>m68k-sun-sunos4.1.1</b><br> | |
77 | It is reported that you may need the GNU assembler on this platform. | |
78 | ||
79 | <p><b>mips*-sgi-irix4</b><br> | |
80 | <b>mips*-sgi-irix5</b><br> | |
81 | You must use GAS on these platforms, the native assembler can not handle the | |
82 | code for exception handling support on this platform. | |
83 | ||
84 | <p>These systems don't have ranlib, which various components in egcs need; you | |
85 | should be able to avoid this problem by installing GNU binutils, which includes | |
86 | a functional ranlib for this system. | |
87 | ||
88 | <p>You may get the following warning on irix4 platforms, it can be safely | |
89 | ignored. | |
90 | <pre> | |
91 | warning: foo.o does not have gp tables for all its sections. | |
92 | </pre> | |
93 | ||
94 | <p><b>mips*-sgi-irix6</b><br> | |
95 | You must not use GAS on irix6 platforms; doing so will only cause problems. | |
96 | ||
97 | <p>These systems don't have ranlib, which various components in egcs need; you | |
98 | should be able to avoid this problem by making a dummy script called ranlib | |
99 | which just exits with zero status and placing it in your path. | |
100 | ||
101 | <p><b>rs6000-ibm-aix*</b><br> | |
102 | <b>powerpc-ibm-aix*</b><br> | |
103 | At least one person as reported problems with older versions of gnu-make on | |
104 | this platform. make-3.76 is reported to work correctly. | |
105 | ||
106 | <p><b>powerpc-*-linux-gnu*</b><br> | |
107 | You will need | |
108 | <a href="ftp://ftp.yggdrasil.com/private/hjl">binutils-2.8.1.0.17</a> for | |
109 | a working egcs. It is strongly recommended to recompile binutils with egcs | |
110 | if you initially built it with gcc-2.7.2.*. | |
111 | ||
112 | <p> | |
113 | exception handling | |
114 | <p>XXX Linux stuff | |
115 | <hr> | |
116 | <i>Last modified on December 2, 1997.</i> | |
117 | ||
118 | </body> | |
119 | </html> |