supporting --with-cpu=default32 option for x86_64

James E Wilson wilson@specifixinc.com
Fri Mar 18 09:59:00 GMT 2005


Nitin Gupta wrote:
> following lines were added in config.gcc in order to recognise
> --with-cpu=default32. But I dont understand , how it was actually made
> to default to 32-bit.

The trick is to look at the default64 code, and note what default32 
doesn't do that default64 does do.

The code you quoted is only clearing with_cpu when default32/default64 
are given, because these are valid options to the actual gcc code. 
These just mean "use whatever the default with_cpu value is".
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list