This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava compiles for wrong architecture


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]