crosstool OS X -> x86 woes

Nathaniel Gray n8gray@caltech.edu
Thu Sep 2 23:54:00 GMT 2004


Hello,

I'm trying to build a compiler I can run on my OS X machine that builds 
Linux-x86 binaries.  I don't care which version of gcc, glibc, etc. I 
end up with, I just want anything that works.

I've tried the following targets from demo-i686.sh:
	i686.dat gcc-3.4.1-glibc-2.3.3.dat
	i686.dat gcc-2.95.3-glibc-2.2.2.dat

And I hit the following problems:

1. wget just doesn't work for ftp on my machine.  I don't know why not. 
  curl works.

2. The configure scripts just don't work well.  For example, they try 
to test for the version of "as" by running "as --version", which a) 
doesn't work and b) blocks waiting for input.  Ditto for sed.  Worse, 
there seems to be no way to get OS X sed to print its version!

3. Having fixed the above problems I got an error "GLIBC must be built 
with GNU CC".  This despite the fact that the compiler in question was 
the gcc compiler I just built!

At this point I gave up.  Has anybody had success building such a 
cross-compiler?

Thanks,
-n8

--
 >>>-- Nathaniel Gray -- Caltech Computer Science ------>
 >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list