gcc 4.6.2 build issue..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I am trying to build gcc 4.6.2 from source on rhe5-x86_64 platform.

with the following dependencies.

gmp - 5.0.4 
mpfr  - 3.1.0
mpc - 0.9

for gcc:-
 
./configure --prefix=/path/ --with-gmp=/path --with-mpfr=/path
--with-mpc=/path




After 2 hrs of gcc building I got below error
mygmp/lib/libgmp.so: could not read symbols: File in wrong format

In some blog I found that gmp should support 32bit and 64bit otherwise, try
by
disabling libjava option in config parameter(in gcc) to continue the gcc
installation.

We need libjava option too and cannot disable it.

for gmp compilation I tried with following option:-

./configure ABI=32 --prefix=/mygmp/path (not working)

even for

./configure ABI=64 --prefix=/mygmp/path (not working)

For your information I check by using --disable-multilib option that
build(compilation) happen smoothly..
But I cannot use disable-multilib option as gcc should generate binary for
32bit and 64bit,

Any solution to build gmp with both 32 and 64 bit?

could you please provide us an alternative fix for this issue..


-- 
View this message in context: http://old.nabble.com/gcc-4.6.2-build-issue..-tp33970982p33970982.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux