defaults for -march and -mtune

Marcin Mirosław marcin@mejor.pl
Fri Nov 25 08:59:00 GMT 2011


W dniu 24.11.2011 13:50, Jay Foad pisze:
> Marcin MirosÃ
aw wrote:
>> Try: gcc -Q --help=target 2>&1|grep  "march\|mtune"
>
> Thanks! It's a shame it doesn't work on GCC 4.1.2 as well...

If you want to know what is default target for older gcc you can do such 
trick:
$ touch a.c
$ gcc -fverbose-asm -S a.c -o - |grep "march\|mtune"
(founded on gcc mailinglist)
Regards



More information about the Gcc-help mailing list