Macintosh / Intel

Darren Foltinek
Tue Feb 28 17:36:00 GMT 2006

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_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-

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 

- Darren

More information about the Gsl-discuss mailing list