[Bug bootstrap/9741] [hppa-linux] ICE (segfault) while building a cross compiler
dhazeghi@yahoo.com
gcc-bugzilla@gcc.gnu.org
Sun Jun 15 16:55:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9741
dhazeghi@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |3.4
------- Additional Comments From dhazeghi@yahoo.com 2003-06-15 16:55 -------
Hello,
Please in the future include the options you use to configure with when making bootstrap bug
reports.
Building a cross-compiler is unfortunately probably the worst documented part of gcc. The
crossgcc mailing list (http://sources.redhat.com/ml/crossgcc ) 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).
Dara
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.
More information about the Gcc-bugs
mailing list