> Hi Lukas, 
>  
> We're on 64 bit CPUs.  I used: 
> TARGET=linux2628 CPU=generic USE_PCRE=1 
> So, will this have compiled to 32bits (without using the ARCH=x86_64 option)?

No, you won't cross-compile by mistake, don't worry.

Its just not passing -march=x86-64 to gcc. Actually I'm unsure
if its beneficial to set -march=x86-64 (by setting ARCH=x86_64),
or if gcc understands that on his own anyway.

Because if it is, we should probably introduce a x86_64 CPU_CFLAGS
in the Makefile. We used to recommend "native" everywhere, but thats
not a safe recommendation anymore.

But I guess gcc is smart enough on its own, since x86-64 is the basic
architecture anyway, not like i686, is that correct?



Regards,

Lukas

                                          

Reply via email to