This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: defaults for -march and -mtune


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]