[R-SIG-Mac] Making Fortran shared objects on Mac

elw at stderr.org elw at stderr.org
Sun Dec 17 00:50:40 CET 2006



> I get the following error when trying to compile some Fortran code to a 
> shared object using R CMD SHLIB:
>
> R CMD SHLIB test3.f
> gfortran-4.0 -arch ppc   -fPIC  -g -O2 -c test3.f -o test3.o
> gcc-4.0 -arch ppc -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -

> It looks like it's having some trouble with libtool, but I don't know
> what it means. I have installed
> - the Apple developer tools
> - the gcc included with the R installer
> - g77 from hpc.sourceforge.net

where'd that gfortran come from?  last time i checked, apple wasn't 
shipping a fortran compiler... have things changed, on that front?

--e



More information about the R-SIG-Mac mailing list