Bill Allombert on Sat, 27 Jan 2007 23:15:36 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GMP build on OSX

On Sat, Jan 27, 2007 at 12:07:07AM +0100, Vincent Lefevre wrote:
> On 2007-01-26 17:03:16 +0100, Bill Allombert wrote:
> > My personnal experience with ppc46 is that 32bit and 64bit libraries are
> > not separated while they have conflicting API which make really hard to
> > use them. Liniking a 32bit program with a 64bit library is fatal, and so
> > is the converse.
> You can't link a 32-bit program with a 64-bit library or the opposite
> (if one tries to force to do that, one immediately gets an error). So,
> there's no problem: the linker chooses the first library that matches
> the architecture/ABI. The non-separation is not necessarily a problem
> either due to fat binaries. For instance:

In practice I find OS X systems where Xlib is 32bit only and GMP 64bit only.
Detecting this require to run the linker which is slow.