Compiling 32 bit ROOT on 64 bit Linux

Hi Rooter,

Due to some boundary conditions, I need to compile ROOT 5.34.09 in 32 bit mode on a 64 bit linux machine.
I used

to configure for 32 bit compilation. Compilation then runs with -m32 flag for gcc but linking fails giving me these lines:

/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libpcre.so when searching for -lpcre
/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/libpcre.so when searching for -lpcre
/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libpcre.so when searching for -lpcre
/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: cannot find -lpcre
/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libcrypt.so when searching for -lcrypt
/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib64/gcc/x86_64-suse-linux/4.7/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc

So, the 32 bit libraries located in /usr/lib instead of /usr/lib64 are not found and I did not find out how to specify to look in the right directory. How can I tell ld to use the correctlibraries? There is a --ld option available for the configuring step but it is not clear to me how to use it exactly.

Thanks a lot for your help,
Daniel

Nobody got an idea what to do about that?

Thanks,
Daniel