Hi Bernhard,

* Bernhard Reiter <[EMAIL PROTECTED]> [060310 10:22]:
> Am Freitag, 10. März 2006 10:09 schrieb [EMAIL PROTECTED]:
> > gmp-4.1.4-20051016 (from -current) fails to build for me on
> > Debian.
> 
> It would be helpful to know more about the system.
> Debian version and hardware platform.

$ uname -srvm
Linux 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686
$ cat /etc/debian_version
3.1
$ file /openpkg/bin/gcc
/openpkg/bin/gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped
$ gcc -dumpmachine
i686-pc-linux-gnu

> E.g. is this s 64 bit machine?

Good catch! The machine is Opteron running in 32bit mode (both kernel
and userspace) but gmp's configure spits out the following:

..
checking for /openpkg/bin/cc option to accept ANSI C... none needed
checking how to run the C preprocessor... /openpkg/bin/cc -E
using ABI="64"
      CC="/openpkg/bin/cc"
      CFLAGS="-O2 -pipe"
      CPPFLAGS=""
      MPN_PATH=" x86-64 generic"
checking for /openpkg/bin/cc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for string.h... yes
..

I guess I need to dig around in the configure script and see why it
mistakenly thinks that it should build a 64 bit ABI library. 

-- Olaf
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to