Cross compiling boost
I'm trying to build boost for an arm processor, but all the hidden bjam stuff is simply to much, so I have to ask for help :) All my build tools are in ~/arm-tools/. I'm on a Linux x86 and the cross compiler I'm trying to use is a gcc version 3.4.4. I have tried various build commands. The latest being: ~/boost_1_34_0 $ bjam --build-dir=/tmp/build-boost --toolset-gcc-3.4.4 --with-regex -sGXX=arm-wrs-linux-gnueabi-g++ stage But I still get: ~/boost_1_34_0 $ file stage/lib/libboost_regex-gcc34.so stage/lib/libboost_regex-gcc34.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped Can anybody explain to me what I must do to compile boost-regex for arm? btw I have found others trying to do the same but they seem to end up hacking the bjam files, and I have no idea of how to that. /peter -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Check the archive of boost messages - I posted something on this last year sometime....Google should find it. James ====== Q. What is the most annoying thing on usenet and in e-mail? A: Bottom-posting Q: Why is it such a bad thing? A: Because it takes ages to actually find what you are looking for in the pages of unnecessary cak when all you wanted was the answer above.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Peter Poulsen Sent: 30 May 2007 08:48 To: boost-users@lists.boost.org Subject: [Boost-users] Cross compiling boost
I'm trying to build boost for an arm processor, but all the hidden bjam stuff is simply to much, so I have to ask for help :)
All my build tools are in ~/arm-tools/. I'm on a Linux x86 and the cross compiler I'm trying to use is a gcc version 3.4.4.
I have tried various build commands. The latest being:
~/boost_1_34_0 $ bjam --build-dir=/tmp/build-boost --toolset-gcc-3.4.4 --with-regex -sGXX=arm-wrs-linux-gnueabi-g++ stage
But I still get:
~/boost_1_34_0 $ file stage/lib/libboost_regex-gcc34.so stage/lib/libboost_regex-gcc34.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
Can anybody explain to me what I must do to compile boost-regex for arm?
btw I have found others trying to do the same but they seem to end up hacking the bjam files, and I have no idea of how to that.
/peter
-- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
participants (2)
-
Hughes, James
-
Peter Poulsen