This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: gcc-4.2.2 on Solaris2.9 - build fails - needs 32-bit gmp/mpfr
- From: "Rupert Wood" <me at rupey dot net>
- To: "'Poor Yorick'" <org dot gnu dot gcc dot help at pooryorick dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 6 May 2008 10:41:00 +0100
- Subject: RE: gcc-4.2.2 on Solaris2.9 - build fails - needs 32-bit gmp/mpfr
- References: <20080502223106.1649.qmail@station198.com>
Poor Yorick wrote:
> I am trying to build gcc-4.2.2 for sparc-sun-solaris2.9, but the
> build seems to require 32-bit gmp and mpfr in addition to 64-bit gmp
> and mpfr.
No, it should require just 32-bit GMP and MPFR if you're building sparc-sun-solaris2.9 - that's a 32-bit compiler than can generate both 32- and 64-bit code.
MPFR is used internally by GCC and not for the target libraries so you just need the same version as the compiler binary you're building. You only need the 64-bit versions if you're building a 64-bit compiler binary i.e. sparc64-sun-solaris2.9.
Rup.