GMP incorrectly detects CPU-VENDOR-OS triplet

2010-05-14 Thread Bruce Dubbs
Ticket #2661 On my x86_64 machine ./config.guess script of GMP 5.01 (and 5.00 as well) returns 'athlon-unknown-linux-gnu' which is incorrectly considered by ./configure script as 32-bit platform, so it expects sizeof(long) to be 4, when it is actually 8: checking compiler cc -O2 -pedantic

Re: GMP incorrectly detects CPU-VENDOR-OS triplet

2010-05-14 Thread Prashant R Keshvani (Baijoo)
Hi, I have faced the same problem. I have used kvm to build LFS, when I ran configure from GMP, it generate an error saying no suitable compiler found for pentium2-unlnown-linux-gnu. actually my machine is x86_64-unknown-linux-gnu. I had to manually specify it using build option. Regards, On

Re: GMP incorrectly detects CPU-VENDOR-OS triplet

2010-05-14 Thread Ken Moffat
On 14 May 2010 20:03, Prashant R Keshvani (Baijoo) prashant2...@gmail.com wrote: Hi, I have faced the same problem. I have used kvm to build LFS, when I ran configure from GMP, it generate an error saying no suitable compiler found for pentium2-unlnown-linux-gnu. actually my machine is

Re: GMP incorrectly detects CPU-VENDOR-OS triplet

2010-05-14 Thread Aleksandar Kuktin
On Fri, 14 May 2010 22:20:32 +0100 Ken Moffat zarniwhoo...@googlemail.com wrote: On 14 May 2010 20:03, Prashant R Keshvani (Baijoo) prashant2...@gmail.com wrote: Hi, I have faced the same problem. I have used kvm to build LFS, when I ran configure from GMP, it generate an error saying no

Re: GMP incorrectly detects CPU-VENDOR-OS triplet

2010-05-14 Thread xinglp
I've met something like that when I turn onĀ optimize in jhalfs. I fix it by ./configure ABI=32. 2010/5/15 Aleksandar Kuktin akuk...@gmail.com On Fri, 14 May 2010 22:20:32 +0100 Ken Moffat zarniwhoo...@googlemail.com wrote: On 14 May 2010 20:03, Prashant R Keshvani (Baijoo)