This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: libjava compiles for wrong architecture
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Nulik Nol <nuliknol at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 1 Jul 2014 21:11:58 +0200 (CEST)
- Subject: Re: libjava compiles for wrong architecture
- Authentication-results: sourceware.org; auth=none
- References: <CAHO6xe_Eoc9jVgVzpLbBbtxRzz+Y3+3uOVP5PqeVk8=YnTaVyw at mail dot gmail dot com>
- Reply-to: gcc-help at gcc dot gnu dot org
On Tue, 1 Jul 2014, Nulik Nol wrote:
Hi,
I am still trying to compile gcc 4.7.4 on RH5.9 with my own mpc,mpfr
and gmp in non-standard location and now I get this error:
"/usr/gmp/lib/libgmp.so: could not read symbols: File in wrong format"
The problem is not actually in the libgmp, but in libjava. The libjava
got compiled for 32 bits instead of 64 bits, this is the error I get
during make:
Not "instead", "in addition to". Multilib is enabled by default.
--
Marc Glisse