On Dec 15, 2006, at 4:11 AM, Christian Joensson wrote:
So, returning to my question here. The way I see it, should the
multilibbed enabled libraries use and gmp and/or mpfr routines, then
the gmp and mpfr libraries are needed in both 32 and 64 bit variants.

Yes.

If, on the other hand, the gmp and mpfr libraries are only needed in
the compiler itself and the libraries that are not multilibbed
enabled, then gmp and mpfr are only needed as 32 bit variants.

Yes.

So, again, if I have a 32 bit compiler multilibbed enabled, then only
32 bit variants of gmp and mpfr libraries requires that gmp and/or
mpfr routines are not used by the multilibbed libraries at all.
Correct?

Yes, exactly.

If gcc development would eventually make use of gmp and/or mpfr in the
multilibbed libraries, that would require both 32 bit and 64 bit
variants installed.

Yes.

If so, I wonder if the header files support multilibbed, 32 bit and 64 bit, install and use... in other words, I suppose gmp and mpfr should be multilibbed :)

You'd get more mileage out of doing this, if you can. For example, around here, we build all variations and glue them all together (ppc, ppc64, i386, x86_64). This enables us to build x86_64 hosted compilers, i386 hosted compilers, canadian cross compilers and so on, no build we try would then fail because of these libraries. There is a certain niceness about not having to worry about it.

Reply via email to