defaults for -march and -mtune
Ryan Hill
dirtyepic@gentoo.org
Fri Nov 25 09:09:00 GMT 2011
On Thu, 24 Nov 2011 16:10:10 +0100
Marcin Mirosław <marcin@mejor.pl> wrote:
> 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)
Or `echo "" | gcc -v -E - 2>&1 | grep cc1`
--
fonts, gcc-porting, it makes no sense how it makes no sense
toolchain, wxwidgets but i'll take it free anytime
@ gentoo.org EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20111125/ad641aef/attachment-0001.sig>
More information about the Gcc-help
mailing list