This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Macintosh / Intel
- From: Darren Foltinek <darren dot foltinek at shaw dot ca>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 28 Feb 2006 10:36:03 -0700
- Subject: Macintosh / Intel
- Reply-to: darren at frontrange dot ca
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