[Devel] Re: [Users] action.c:1: error: bad value (x86_64) for -mtune= switch

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Feb 27 12:28:28 CET 2007


Hi Alex,

maybe is time to go deep into the gcc docs..

regards,
bogdan

Alexandr Dubovikov wrote:
> On Tue, Feb 27, 2007 at 11:46:33AM +0200, Bogdan-Andrei Iancu wrote:
>   
>> Hi Alex,
>>     
>
> Hi Bogdan,
>
>   
>> the CPU is not autodetected (the ARCH is, using uname), but 
>> statistically defined based on ARCH and compiler.  So the sed has no 
>> sense - you can directly  put whatever you want; now "opteron" is used.
>> If you want to change, just do:
>>    "CPU_TYPE=nocona make all"
>>     
>
> ok, thanks.
>
>   
>> btw, what GCC versions supports nocona?
>>     
>
> 4.1.0
>
> -mcpu=cpu-type
>            Tune to cpu-type everything applicable about the generated code, 
>            except for the ABI and the set of available instructions.  The choices for cpu-type are:
>
> ..........
>
>
> nocona
>                Improved version of Intel Pentium4 CPU with 64-bit extensions, MMX, SSE, SSE2 and 
> 	  SSE3 instruction set support.
>
>
>
>   
>> regards,
>> bogdan
>>
>>
>>     
>
>
> Wbr,
>   




More information about the Devel mailing list