Re: defaults for -march and -mtune

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Nov 2011 16:10:10 +0100
Marcin Mirosław <marcin@xxxxxxxx> 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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux