This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/28026] Cross compiles involving Darwin fail
- From: "w dot northcott at unsw dot edu dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2006 05:57:56 -0000
- Subject: [Bug bootstrap/28026] Cross compiles involving Darwin fail
- References: <bug-28026-8803@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from w dot northcott at unsw dot edu dot au 2006-06-23 05:57 -------
(In reply to comment #3)
> I think the problem with the FSF build is that the SDK is actually
> *-darwin-8.6.1 but your host system is running Tiger which is *-darwin-8.6.0.
Thanks for the thoughgt, but I don't quite get your drift.
The test is
if test $hostos = $targetos -o $targetos = darwin
In the Apple build this succeeds because both target and host are set to
....darwin8.
In the FSF build the same test fails because the target is set to ...darwin8
and the host to ...darwin8.6.whatever. Since the test fails, the build
succeeds because CROSS_COMPILE is still defined. It is a case of two wrongs
making a right, but it is not nice.
Bill
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28026