darwin cross compiling breakage

Mike Stump mrs@apple.com
Mon Jun 12 19:19:00 GMT 2006


On Jun 12, 2006, at 11:58 AM, Andrew Pinski wrote:
>> So, what would you prefer to do now, I can leave it busted and I'll
>> just keep my work apple local or I can ask if others have a problem
>> with something like:
>>
>> --- ./configure.ac.~1~  2006-06-08 12:08:48.000000000 -0700
>> +++ ./configure.ac      2006-06-10 01:27:56.000000000 -0700
>> @@ -1733,7 +1733,7 @@ then
>>                  hostos=`echo $host | sed 's/.*-darwin/darwin/'`
>>                  targetos=`echo $target | sed 's/.*-darwin/darwin/'`
>>                  if test $hostos = $targetos -o $targetos = darwin ;
>> then
>> -                   CROSS=
>> +                   CROSS="-DDARWIN_CROSS_COMPILE"
>
> Why not change all of CROSS_COMPILE to be the correct defintion like
> NON_SAME_CROSS_COMPILE and just define CROSS_COMPILE instead.

Let me understand your solution a little more.  Your solution is the  
same as mine, but, you would rather CROSS_COMPILE be named  
NON_SAME_CROSS_COMPILE and you want DARWIN_CROSS_COMPILE to be named  
CROSS_COMPILE?

Is that what you want?



More information about the Gcc-patches mailing list