[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems linking with gmp...
From: |
Will Galway |
Subject: |
Re: Problems linking with gmp... |
Date: |
Fri, 13 Sep 2002 15:25:21 -0700 (PDT) |
Kevin Ryde writes:
> Will Galway <address@hidden> writes:
> >
> > So, when I compile my test program without "-xarch=v9", at link time
> > ld "correctly" decides to link to the older libgmp, compiled without
> > "-xarch=v9".
>
> Ah dear, bit of a trap that. You can choose whether you want a 64-bit
> or 32-bit build, see "ABI and ISA" in the manual. Usually 64-bit is
> faster, though I'm not sure by how much on sparc.
Right. It all seems perfectly clear after the fact, but it was pretty
confusing at the time. I was already kind-of aware of the ABI/ISA
issues, but not prepared for the obscureness of the error messages
when I did things incorrectly. Paying close attention to the log I'd
kept when building GMP, and running a few "ld -Dlibs,detail ...",
finally got me pointed the right direction.
I'd HOPE that a 64-bit version is faster! (And, I'll be curious to
see.)
Thanks again for your help.
--Will
( mailto:address@hidden http://www.cecm.sfu.ca/~wfgalway )
- Problems linking with gmp..., Will Galway, 2002/09/11
- Re: Problems linking with gmp..., Kevin Ryde, 2002/09/11
- Re: Problems linking with gmp..., Will Galway, 2002/09/11
- Re: Problems linking with gmp..., Kevin Ryde, 2002/09/13
- Re: Problems linking with gmp...,
Will Galway <=
- Re: Problems linking with gmp..., Torbjorn Granlund, 2002/09/13
- Re: Good GMP performance (WAS Re: Problems linking with gmp...), Will Galway, 2002/09/13
- Re: Good GMP performance (WAS Re: Problems linking with gmp...), Torbjorn Granlund, 2002/09/13
- Re: Good GMP performance (WAS Re: Problems linking with gmp...), Will Galway, 2002/09/13
- Re: Good GMP performance (WAS Re: Problems linking with gmp...), Kevin Ryde, 2002/09/13