cross compiling boost python (64->32bits)

24 Mar
2014
24 Mar
'14
7:58 a.m.
Hi, I need to compile boost python from my linux system. the host system is a 64bits , and the target a 32 bit one. when I try using it on the target system, I have this message, ImportError: ./libboost_python.so.1.55.0: undefined symbol: Py_InitModule4_64 So, I suppose it is not compiled for 32bits system . I have tried many things, what is the right way to compile a 32 bits boost python lib, from a linux 64 bits system ? Regards, Steph

30 Mar
30 Mar
2:52 a.m.
AMDG On 03/24/2014 12:58 AM, Stéphane ANCELOT wrote:
I have tried many things, what is the right way to compile a 32 bits boost python lib, from a linux 64 bits system ?
I've never tried cross-compiling, but you'll need at least b2 ... address-model=32 In Christ, Steven Watanabe
3982
Age (days ago)
3988
Last active (days ago)
1 comments
2 participants
participants (2)
-
Steven Watanabe
-
Stéphane ANCELOT