8 Jan
2012
8 Jan
'12
5:56 p.m.
On Sun, Jan 08, 2012 at 06:45:18PM +0100, Nicolas George wrote:
Le nonidi 19 nivôse, an CCXX, Reimar Döffinger a écrit :
I don't know why you ask, but I strongly think that such functionality belongs in gcc and should be triggered by -mcpu=native.
It does belong there indeed, but compiling for ARM is often done by crosscompiling, and AFAIK native does not work in that case.
Yes, but that's the same for looking at cpuinfo... Also note that when using -march=native gcc will print which march setting it translates that to (when using -v or such option in addition).