On Wed, 2010-03-03 at 00:33 +0000, Joseph S. Myers wrote: > On Wed, 3 Mar 2010, Laurent GUERBY wrote: > > > $ ../trunk/configure --prefix=/n/100/guerby/install-trunk > > --enable-languages=c --enable-__cxa_atexit --disable-nls > > --enable-threads=posix --with-mpfr=/opt/cfarm/mpfr-2.4.2-32 > > --with-gmp=/opt/cfarm/gmp-4.2.4-32 --with-mpc=/opt/cfarm/mpc-0.8-32 > > --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu > > --disable-multilib > > The logic to use lib32 on Debian/Ubuntu is only in t-linux64, so you need > to build --enable-targets=all for this to work. (I don't know whether > --enable-targets=all --disable-multilib works; it doesn't really make > logical sense, but might in fact cause the MULTILIB_OSDIRNAMES > configuration to take effect with none of the rest of the multilib > configuration.)
Thanks! --enable-targets=all --disable-multilib did the trick on debian: http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg00241.html And the installed compiler works as expected, now trying with more languages. I checked the generated multilib.h and it has all the definitions plus DISABLE_MULTILIB defined, see below. I don't know if configure could do better here. Sincerely, Laurent gue...@debian:~/build1$ cat ./gcc/multilib.h static const char *const multilib_raw[] = { ". !m64 !m32;", ".:../lib64 m64 !m32;", ".:../lib32 !m64 m32;", NULL }; static const char *const multilib_matches_raw[] = { "m64 m64;", "m32 m32;", NULL }; static const char *multilib_extra = ""; static const char *const multilib_exclusions_raw[] = { NULL }; static const char *multilib_options = "m64/m32"; #define DISABLE_MULTILIB 1