Compile 32 bits on 64 arch how-to ?
Hello, I would like to compile boost on 64 opteron arch but create the libraries in 32 bits mode (using -m32 cxxflags). The reason for that is that i have quite a lot libraries compiled in 32 that i can't port for the moment to 64. I'm not sure how to do that. I read about modifying user.hpp usung the configure script and that is what i did but it still doesn't seem to compile with the -m32 compiler flag. Can anyone help me ?
"david v"
I would like to compile boost on 64 opteron arch but create the libraries in 32 bits mode (using -m32 cxxflags). The reason for that is that i have quite a lot libraries compiled in 32 that i can't port for the moment to 64. I'm not sure how to do that. I read about modifying user.hpp usung the configure script and that is what i did but it still doesn't seem to compile with the -m32 compiler flag.
I don't know anything about modifying user.hpp or configure scripts for boost. I build filesystem and regex libraries from boost on a 64 bit Debian box with this command: $ bjam -sTOOLS=gcc -sGXX="g++ -m32" hth, -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
participants (2)
-
Boris Kolpackov
-
david v