From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul DeMello" To: Subject: building gcc/g++ 3.0 on aix: gen-num-limits failed to execute Date: Mon, 09 Jul 2001 17:34:00 -0000 Message-id: <012501c108d8$5102f130$9879e9c7@oax.com> X-SW-Source: 2001-07/msg00140.html I'm having problems building libstdc++-v3, I believe. My system: os: powerpc-ibm-aix4.3.3.0 binutils: 2.9.aix43.010216 (as recommended on the gnu gcc site) make: GNU Make version 3.77 gcc -v: (I had installed just gcc 3.0 before (not g++), successfully) Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.0/specs Configured with: ./configure Thread model: single gcc version 3.0 What I did: ./configure --enable-threads=pthreads nice /usr/local/bin/make bootstrap-lean Eventually, after a few hours, I get: Adding multilib support to Makefile in . with_multisubdir=ppc64 running mkc++config running mknumeric_limits /oasis/tmp/paul/gcc-3.0/gcc/xgcc -B/oasis/tmp/paul/gcc-3.0/gcc/ -B/usr/local /powerpc-ibm-aix4.3.3.0/bin/ -B/usr/local/powerpc-ibm-aix4.3.3.0/lib/ -isyst em usr/local/powerpc-ibm-aix4.3.3.0/include -maix64 -I. -I/oasis/tmp/paul/gcc -3.0/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/include -DHAVE_CONFIG_H -fno- exceptions -o /oasis/tmp/paul/gcc-3.0/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/src/gen-nu m-limits ./src/gen-num-limits.cc Could not load program /oasis/tmp/paul/gcc-3.0/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/src/gen-nu m-limits: Cannot run a 64-bit program on a 32-bit machine. gen-num-limits failed to execute, exiting. mknumeric_limits failed to execute properly: exiting make[1]: *** [configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory `/oasis/tmp/paul/gcc-3.0' make: *** [bootstrap-lean] Error 2 Hope someone can help... Thanks.. :) Paul