This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Macintosh / Intel


Hi all,

We are using the GSL library on Mac/PPC machines, and recently 
got one of the new Intel-based Macs.

Trying to compile GSL on the Intel Mac, it does not use the correct 
ieee-utils/fp-* code and so the compile fails.

>From my poking around in the code, the floating point architecture 
code seems to be switched by the HAVE_****_IEEE_INTERFACE 
#define in config.h.  I tried changing it from 
"HAVE_DARWIN_IEEE_INTERFACE" to 
"HAVE_GNUX86_IEEE_INTERFACE" but that did not work, resulting 
in  an error of: 

fp-gnux86.c:21:25: error: fpu_control.h: No such file or directory

This machine has, in it's /usr/include/architecture directory BOTH 
a "ppc" subdirectory and an "i386" subdirectory.

The config.guess script correctly identifies the machine as "i386-
apple-darwin8.4.1".

I'm willing to put some time in to get this going, if somebody could 
help point me in the right direction that would be much 
appreciated!

Thanks,
- Darren



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]