Re: NetCDF library in Universal Binary for Mac OS X

On 2006-01-24 18:04, Johan Kool said:

>Apple recommends using this to configure for universal binary:
>./configure CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
>ppc -arch i386" LDFLAGS="-Wl,-syslibroot
>/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
>But that fails with:
>checking for C compiler default output file name... configure: error:
>C compiler cannot create executables
>See `config.log' for more details.
>configure:1570: checking for C compiler default output file name
>configure:1573: cc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc
>-arch i386  -Wl,-syslibroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc
>-arch i386 conftest.c  >&5
>/usr/bin/ld: -syslibroot: multiply specified

Note though that tn2137 has some errors, see this thread:

Please file a bug with Apple against the technote.

Sean McBride, B. Eng                 sean@xxxxxxxxxxxxxxxxxx
Rogue Research               
Mac Software Developer              Montréal, Québec, Canada