2011/12/14 Jędrzej Dudkiewicz : > > I can try it, but last time I tried it wasn't working. Note that here: > > http://gcc.gnu.org/install/specific.html#x-ibm-aix > > it is written: > > Because GCC on AIX is built as a 32-bit executable by default, > (although it can generate 64-bit programs) the GMP and MPFR libraries > required by gfortran must be 32-bit libraries. Building GMP and MPFR > as static archive libraries works better than shared libraries. > > My impression is that if you were right, this wouldn't be mentioned. Well that text is necessary if you build those libs yourself. If you let GCC build them it should do the right thing automatically. If it doesn't that's a bug. > On the other hand it seems that not only gfortran requires them, so > maybe this whole part is wrong. It's certainly out of date as not only gfortran needs them, and MPC is also needed now. >> Are you installing dynamic libraries for gmp, mpfr and mpc? If you >> are, it's not as simple as running one script, because you need to >> ensure they can be found by the dynamic linker at runtime. > > No, as in quoted text above: "Building GMP and MPFR as static archive > libraries works better than shared libraries". OK, by only building static libs you avoid the main problems caused by building them separately from GCC.