2011/12/14 Jędrzej Dudkiewicz: > 2011/12/14 Jonathan Wakely <jwakely.gcc@xxxxxxxxx>: >> 2011/12/14 Jędrzej Dudkiewicz: >>> >>> 1) Am I building everything the right way, >> >> The process is much simpler if you let GCC build the GMP, MPFR and MPC >> libs, instead of installing them separately. See >> http://advogato.org/person/redi/diary/253.html > > It's simpler, but results in errors. On AIX, by default, GCC is built > as 32-bit binary but aforementioned libraries are built in 64-bit > mode. Most probably it's possible to do everything in one shot, but I > have a habit of scripting everything, so building these libraries in > 32-bit mode is as easy as running one script. If you put the libraries in the GCC source tree they should be built for the same architecture as GCC, if they are not, please report a bug. 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.