This is the mail archive of the gcc@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]

compile problems with gcc 4.5.0


Hi all,

I tried to compile the gcc 4.5.0 version, but got errors with gmp :-(


I did:


krud@mauersegler:~/work/gcc-4.5.0$ cp -pr ../gmp-5.0.1/ ./gmp
krud@mauersegler:~/work/gcc-4.5.0$ cp -pr ../mpfr-2.4.2/ ./mpfr
krud@mauersegler:~/work/gcc-4.5.0$ cp -pr ../mpc-0.8.1/ ./mpc
krud@mauersegler:~/work/gcc-4.5.0$ cp -pr ../ppl-0.10.2/ ./ppl
krud@mauersegler:~/work/gcc-4.5.0$ mkdir build_linux
krud@mauersegler:~/work/gcc-4.5.0$ cd build_linux/
krud@mauersegler:~/work/gcc-4.5.0/build_linux$ ../configure --prefix=/opt/linux --enable-languages=c,c++

And got:

...
hecking whether fmal is declared... yes
checking whether rintf is declared... yes
checking whether rintl is declared... yes
checking for int_fast16_t... yes
checking for int_fast32_t... yes
checking for int_fast64_t... yes
checking for uint_fast16_t... yes
checking for uint_fast32_t... yes
checking for uint_fast64_t... yes
checking for ld used by GCC... /opt/linux/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld
checking if the linker (/opt/linux/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to link with libgmp... -lgmp
checking how to link with libgmpxx... -lgmpxx -lgmp
checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:
see http://www.swox.com/gmp/ for more information.
When compiling the GMP library, do not forget to enable the C++ interface:
add --enable-cxx to the configuration options.
make[2]: *** [configure-stage1-ppl] Fehler 1
make[2]: Verlasse Verzeichnis '/home/krud/work/gcc-4.5.0/build_linux'
make[1]: *** [stage1-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/krud/work/gcc-4.5.0/build_linux'
make: *** [all] Fehler 2


I also copied gmp-4.3.1 to the gcc path but got the same results.

How can I proceed here?

Thanks
 Klaus


-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


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