[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMP Library
From: |
Kevin Ryde |
Subject: |
Re: GMP Library |
Date: |
Tue, 31 Dec 2002 06:50:14 +1000 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i386-debian-linux-gnu) |
"Steve Rinehart" <address@hidden> writes:
>
> ld: /usr/local/lib/libgmp.sl: Mismatched ABI. 64-bit PA shared library
> found in 32-bit link.
GMP uses the 64-bit 2.0w ABI by default on hpux 11, is that the system
you're using?
Looks like perl wants 32-bit though. You can build gmp for 32-bits
with
./configure ABI=1.0
This will be slower, but if it's how perl was built then there's not
much choice.
ABI=2.0n might work too, and would offer the speed of 2.0w. Might
need to add "+DA2.0" to the flags used by the perl compile. (See "ABI
and ISA" in the manual for more on this.)
Oh, and if you're using perl then give the GMP module in demos/perl a
try too, it's got more features than Math::GMP, last time I checked.
- GMP Library, Steve Rinehart, 2002/12/30
- Re: GMP Library,
Kevin Ryde <=