gfortran intrinsic functions on Mac OS X

Andrew Pinski pinskia@physics.uc.edu
Sat Feb 4 22:21:00 GMT 2006


On Feb 4, 2006, at 5:16 PM, Sudin Bhattacharya wrote:

> Hi,
> I have a problem with certain intrinsic functions when running 
> gfortran on
> Mac OS X (10.3.9):
>
> Whenever I invoke an intrinsic function with an integer return type, 
> e.g.
> ceiling, floor, nint etc., I get an error statement of the form:
>
> var/tmp//ccttKnia.s:48:stfiwx instruction is optional for the PowerPC 
> (not
> allowed without -force_cpusubtype_ALL option)

> Any suggestions what the problem might be?

Yes you need a newer cctools.  Please read the installation 
instructions.
You can either use the one at
ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-590.12.dmg
or use odcctools which you can get from:
http://www.opendarwin.org/projects/odcctools/

Thanks,
Andrew Pinski



More information about the Fortran mailing list