On 6/27/07, Dominique Dhumieres <[EMAIL PROTECTED]> wrote:
> When you invoke gfortran with -v march=native and with a source file, it will
> show the values.  This is the recommended way of showing how you involved
> gcc/gfortran anyways.

I get:

f951: error: unrecognized command line option "-march=native"

with

[karma] bug/timing% gfc -v -march=native -O3 time_trans.f90
Driving: gfc -mmacosx-version-min=10.3 -v -march=native -O3 time_trans.f90 
-lgfortranbegin -lgfortran -shared-libgcc
Using built-in specs.
Target: powerpc-apple-darwin7


That is because -m options are target specific and -march=native
(really -mcpu=native) have not been implemented for PowerPC yet.
Though it could by reading the processor description bit.

-- Pinski

Reply via email to