This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/9741] [hppa-linux] ICE (segfault) while building a cross compiler


           What    |Removed                     |Added
            Version|unknown                     |3.4

------- Additional Comments From  2003-06-15 16:55 -------

Please in the future include the options you use to configure with when making bootstrap bug 

Building a cross-compiler is unfortunately probably the worst documented part of gcc. The 
crossgcc mailing list ( ) probably has the most useful and 
current information.

Basically though, you need the headers, and the libraries from the machine you're targetting. Once 
you have those installed in a directory (e.g. /usr/local/alpha-linux/build), you'll need to tell gcc 
where they are with --with-sysroot=/usr/local/alpha-linux/build for configure. Also take a look at 
the cross compiler minihowto (it misses the --with-sysroot but IIRC gets everything else right).


P.S. If these instructions fix your problem here, I recommend opening a bug essentially stating that 
gcc is effectively lacking on-site cross compilation documentation.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]