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.
>
>config.log:
>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:
<http://lists.apple.com/archives/unix-porting/2005/Oct/msg00003.html> 

Please file a bug with Apple against the technote.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean@xxxxxxxxxxxxxxxxxx
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: