Finding the machine CPU arch

Rainer Müller raimue at macports.org
Wed Mar 6 09:46:32 PST 2013


On 2013-03-06 18:27, Ryan Schmidt wrote:
>> The following command can be used to check which features with the
>> matching command line flags will be selected by -march=native on the
>> current hardware:
>>  gcc-mp-4.7 -Q --help=target -march=native
> 
> The earliest time you can be guaranteed that gcc-mp-4.7 has been installed is in the pre-configure block; by that time, it's too late to select variants.

Very good point... of course you are right!

Rainer


More information about the macports-dev mailing list