Re: What does -march=native select?

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

 



Yang Zhang <yanghatespam@xxxxxxxxx> writes:

> I peeked under gcc/config/i386/ and found the host_detect_local_cpu()
> function - is there any way to observe the return value of this
> function via the gcc frontend?

Compile a C file with gcc -c -march=native -v.  Look at the options
passed to cc1.  You should see a -march= option.  That is what was
detected.

Ian

[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