32bit compilation on 64bit machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

 I am not sure that this is the right place to ask for
help, but I hope somebody might point out usefull
source of information.

 Here is the situation. I have my box on 

Linux 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:16:33
EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

Due to some compatibility issues I want to compile
some programs (MPICH in particular) with use of 
/lib/ld-linux.so.2 as 32bit application. 
Installation process is following 

 ./configure -cflags=-m32 --enable-f90modules
 ./make

I got the following error message

ar: creating /usr/local/mpich-1.2.7/lib/libmpich.a

/usr/bin/ld: warning: i386 architecture of input file
`printlog.o' is incompatible with i386:x86-64 output

/usr/bin/ld: skipping incompatible
/usr/X11R6/lib64/libX11.so when searching for -lX11


As far as I understand by default ld GNU linker use
/lib64/ld-linux-x86-64.so.2 library, regadless of the
"cflags" switch. So question how to use 32bit library
which is available in "/lib/" ?

thank you,
Ivan 


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux