On 10/07/2015 10:19 PM, Michael Shell wrote:
On Tue, 6 Oct 2015 20:45:18 -0400
William Harrington<[email protected]> wrote:
Another option for GMP to build a generic library is to use --build during
configure. Distros will build GMP for a generic AMD64 or i386 build.
That's really good to know and probably the best way to go.
What would be the difference in the outcome between the two methods?
On Mon, 05 Oct 2015 14:04:42 -0400
Wayne Sallee<[email protected]> wrote:
One thing that I am wondering about; what about all of the programs that
I have compiled with the previous install of gmp? I am wondering if I
might run into problems with them working on a different computer.
You should be OK unless libgmp was statically compiled into something.
Note the standard LFS build of libgmp even disables the static ability:
http://www.linuxfromscratch.org/lfs/view/development/chapter06/gmp.html
Issues like this are the entire point of dynamic libraries - the library
can be updated without having to recompile everything. Furthermore, I
don't think many applications will link with gmp - it's gcc itself
that is using it. On my machine even bc does not link to gmp.
Gmp is a math library that supports the handling of numbers of arbitrary
precision and size. It's often used with cryptography applications because
they work with such large primes. I wonder why gcc needs it (and only
recently it seems this became true).
That's good to know that I don't have to rebuild a bunch of other code to fix
this.
In lfs7.7 --disable-static \ is not used in building gmp.
Wayne Sallee
[email protected]
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page