This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23231] cross compiling fails for mips-sgi-irix6.5
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2005 23:57:38 -0000
- Subject: [Bug target/23231] cross compiling fails for mips-sgi-irix6.5
- References: <20050804154907.23231.pfl@iis.fhg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From wilson at gcc dot gnu dot org 2005-08-06 23:57 -------
You need to add a --with-gnu-ld configure option.
GNU ld and Irix ld have incompatible options, and the toolchain naturally
defaults to assuming irix ld options, so you must specify GNU ld at configure
time for a binutils using cross.
It is possible that you may still run into problems. I don't know how good the
irix6 support is in the GNU linker. It probably doesn't support all of the
features of the native linker.
The cross64.h file has nothing to do with this. The file is no longer used and
should be deleted. I'll take care of that.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23231