Which -march option to use for a generic 64-bit cpu?
Jonathan Wakely
jwakely.gcc@gmail.com
Sat Jan 21 17:26:00 GMT 2012
On 21 January 2012 15:33, Jonathan Wakely wrote:
>> - Do options indicating such a generic 64-bit cpu exist?, or
>
> Why do you think you need to use any -march option?
> If do don't use one you'll get code that runs on any x86_64 machine.
That was meant to say "if you don't use..."
>> - Can I specifiy multiple -march options in one compile command?, or
>
> No.
Technically you can, but only the last one will have any effect.
More information about the Gcc-help
mailing list