darwin cross compiling breakage

Mike Stump mrs@apple.com
Tue Jun 6 12:58:00 GMT 2006


The recent changes to support code generation for the current machine  
on x86 has broken darwin's ppc x i386 compiler.  :-(  We go out of  
our way to not define CROSS_COMPILE to get everything to work right,  
but there just isn't anyway to run x86 instructions of the ppc to  
figure out what x86 cpu we're on.  :-)  We could run ppc instructions  
on the x86, but I digress.

So, presently, I'm doing something like the below patch.  Kinda  
gross, but effective.

Ok for mainline, or do people have some other easy way to disentangle  
cross compilations?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x-1.diffs.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060606/97b29e19/attachment.txt>


More information about the Gcc-patches mailing list