Community
cancel
Showing results for 
Search instead for 
Did you mean: 
31 Views

A question for TBB's compilation

Is TBB's compilation closely related with the kernel of Linux OS? I'm on 64-bit red-hatEnterpriseLinux. For some reason, I need to compile a 32-bit library for TBB. I did this by force the CPLUS_FLAGS and LIB_LINK_FLAGS all += -m32, and for testing I alsocompiled my program in this way. Now an error came out when linking which said "undefined reference to `tbb::internal::allocate_root_proxy::allocate(unsigned int)' ", etc.
Can someone help me on this? Many thanks.

0 Kudos
2 Replies
31 Views


As far as I understand the architecture is Intel64 or similar. Try to run following commands:
make clean arch=ia32
make arch=ia32

and use the same argument for the tests. it should generate 32 bit binaries in liniux_ia32... folders.
31 Views


As far as I understand the architecture is Intel64 or similar. Try to run following commands:
make clean arch=ia32
make arch=ia32

and use the same argument for the tests. it should generate 32 bit binaries in liniux_ia32... folders.

Thank you, and I'll try it.