gmp-5.0.1 tests fail on AIX 5.2

Torbjorn Granlund tg at
Tue Mar 16 18:43:11 CET 2010

Patrick Begou <Patrick.Begou at> writes:

  I'm trying to install gmp-5.0.1 on an IBM AIX 5.2 system. I need to
  build the library in 32 bits mode to compile gcc in 32bits mode too.
  Build is successful with the folowing configuration:
  CC=cc CFLAGS="-q32 -g -O2 -qarch=pwr2 -qtune=pwr2"  \
  CXXFLAGS="-q32 -g -O2 -qarch=pwr2 -qtune=pwr2" CXX=xlC \
  LDFLAGS=-bmaxdata:2000000000 \
  ./configure --prefix=/HA/sources/begou/AIX32 --enable-static \
              --disable-shared --build=power2
This looks like a very backwards way of trying to achieve a 32-bit GMP
build.  Please see the Installation chapter in the GMP manual for the
recommended way of building GMP.


More information about the gmp-bugs mailing list