bug-gmp
[Top][All Lists]
Advanced

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

Cross-compiling for powerpc860


From: Matthias Gorjup
Subject: Cross-compiling for powerpc860
Date: Mon, 24 Feb 2003 12:55:12 +0100
User-agent: KMail/1.4.3

Hello,

this bug has cost me 8 working days...
I was cross-compiling gmp library for a powerpc860 platform:
# ./configure --build=pentium4-pc-linux-gnu --host=powerpc860-linux-gnu 
--prefix=/home/gorjup/target_ppc_gmp
# make
# make install

Compilation worked OK and I installed the library on my ppc platform.
I tested your example from INSTALL and I got a message 
GNU MP: Cannot reallocate memory (old_size=4 new_size=268435456)

After examining the problem for a while a used following configuration:
# ./configure --build=pentium4-pc-linux-gnu --host=powerpc-linux-gnu 
--prefix=/home/gorjup/target_ppc_gmp
# make
# make install


After that your example from INSTALL (and also my application, using gmp) was 
working well.

Best Regards

Matthias Gorjup

-- 
IT CONSULTING
Matthias Gorjup s.p.
Preloge pri Konjicah 37
3210 Slov. Konjice
Slovenia
Tel.: + 386 41 540 545




reply via email to

[Prev in Thread] Current Thread [Next in Thread]