This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Re: Macintosh / Intel
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: darren at frontrange dot ca
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Thu, 2 Mar 2006 19:23:38 +0000
- Subject: Re: Macintosh / Intel
- References: <64aba2764a7282.64a728264aba27@shaw.ca>
Darren Foltinek writes:
> 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.
>
> 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".
Hello,
If you change the line
#include <architecture/ppc/fp_regs.h>
in ieee-utils/fp-darwin.c to
#include <architecture/i386/fp_regs.h>
does it work?
--
Brian Gough
Network Theory Ltd,
Publishing the GSL Manual --- http://www.network-theory.co.uk/gsl/manual/