This is the mail archive of the gcc-bugs@gcc.gnu.org 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/28026] Cross compiles involving Darwin fail



------- 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


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