[patch] ppc64 native target for gcc

Mike Stump mrs@apple.com
Sun Nov 12 18:15:00 GMT 2006


On Nov 11, 2006, at 11:01 PM, Eric Christopher wrote:
> you do need the rest since darwin is unlikely to return the 64-bit  
> versions of the processors for config.guess any time in the near  
> future.

Actually, I was thinking about this.  If you point CC=gcc64, then,  
config.guess should return powerpc64.  If you point it at a 32-bit  
default, config.guess can return powerpc.  I think this would be  
safe, as very, very few people will have a 64 bit default compiler,  
and those that do, want the next one to be as well.

You can notice this by compiling void *p  = 0; and seeing it it is 32  
or 64 bits.

I'd Ok that type of change, if anyone wants to do that.



More information about the Gcc-patches mailing list