On Feb 24, 2006, at 4:34 PM, David Edelsohn wrote:

Andreas Conz writes:

Andreas> Hello to all and thank you for the good work,
Andreas> I was trying to build GCC 4.1 RC1 on AIX 5.1 _32bit_.
Andreas> The machine is not very fast and I made some mistakes in the beginning.

Andreas> Now my build stops while configuring libstdc++-v3 :

Andreas> checking whether the C compiler works... configure: error: cannot run C
Andreas> compiled programs.

Andreas> In earlier versions I was able to work around this build problem with
Andreas> the help of the --disable-multilib configure switch.

        If you are building on a 32-bit only system, you need to configure
with --disable-aix64 so that it does not try to build 64-bit libraries. GCC currently expects to be able to run executables in all multilib modes
when building natively.

(Someone please let me know if this is not correct)

I *think* you can go into kdb as root and type "stat" and the second line will tell you if you have a cpu capable of 64 bit operations.

You can build 64 bit libraries in 32 bit mode -- it depends upon your processor type. kdb will tell you that. Its probably somewhere in ODM as well.

HTH,
Perry

Reply via email to