LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Compilation of library in 32 bit mode on 64 bit servers (https://www.linuxquestions.org/questions/programming-9/compilation-of-library-in-32-bit-mode-on-64-bit-servers-925438/)

gaurav.rustagi 01-24-2012 06:51 AM

Compilation of library in 32 bit mode on 64 bit servers
 
Hi,

I am trying to build one shared library in 32 bit mode on 64 bit machine. I am able to compile source files using -m32 option, but not able to link these objects files to get .so.

Here, i am also using some static libraries which have been compiled on 32 bit machine, so i am assuming there is no need to compile these libraries again ( using -m32 switch ).


It fails during linking.

weibullguy 01-24-2012 07:53 AM

Same answer as your other two posts:

http://www.linuxquestions.org/questi...option-925443/
http://www.linuxquestions.org/questi...option-925442/

NevemTeve 01-25-2012 05:43 AM

> It fails during linking.
But perhaps it gives an error message?


All times are GMT -5. The time now is 05:24 PM.