darwin cross compiling breakage

Andrew Pinski pinskia@physics.uc.edu
Tue Jun 6 14:18:00 GMT 2006


On Jun 6, 2006, at 5:57 AM, Mike Stump wrote:

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

That seems wrong.  Not defining CROSS_COMPILE is asking for trouble  
later on.  This is just one
example.


-- Pinski



More information about the Gcc-patches mailing list