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]

Re: Macintosh / Intel


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/


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