
Hi all, I have to cross compile the boost 1.33.1 for my development board. I downloaded boost_1_33_1 from the sourceforge download page and I followed the steps provided as per this link ( http://www.boost.org/doc/tools/build/doc/html/bbv2/tasks/crosscompile.html ) 1. specify your cross compiler in user-config.jam using gcc : arm : arm-none-linux-gnueabi-g++ ; 2. bjam toolset=gcc-arm It needs bjam, so I download and installed the bjam from boost download page. when I run bjam toolset=gcc-arm, I am getting the following error: don't know how to make toolset=gcc-arm ...found 1 target... ...can't find 1 target... It will be very helpful, if someone guide me with the steps to cross compile boost1.33.1 version. Thanks in advance.

From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of srinath duraisamy Sent: Wednesday, March 31, 2010 7:36 AM To: boost-users@lists.boost.org Subject: [Boost-users] Cross compiling boost 1.33.1 I have to cross compile the boost 1.33.1 for my development board. I hope someone else will answer your real question, but I wonder if, in return, you can tell why you are still using such an ancient and out of date version of Boost, now at version 1.42.0. (This is not a criticism, but I note many questions come from people using out-of-date versions and would like to know why. Dealing with obsolete versions often causes unnecessary trouble, and will cause more trouble if you belatedly upgrade.) Thanks Paul --- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow@hetp.u-net.com

srinath duraisamy wrote:
Hi all,
I have to cross compile the boost 1.33.1 for my development board. I downloaded boost_1_33_1 from the sourceforge download page and I followed the steps provided as per this link ( http://www.boost.org/doc/tools/build/doc/html/bbv2/tasks/crosscompile.html )
1. specify your cross compiler in |user-config.jam|
using gcc : arm : arm-none-linux-gnueabi-g++ ;
2.
bjam toolset=gcc-arm
It needs bjam, so I download and installed the bjam from boost download page. when I run bjam toolset=gcc-arm, I am getting the following error:
don't know how to make toolset=gcc-arm ...found 1 target... ...can't find 1 target...
It will be very helpful, if someone guide me with the steps to cross compile boost1.33.1 version.
I'm afraid you are using instruction for current version of Boost.Build V2, while 1.33.1 uses Boost.Build V1 by default. I really recommend you try current release. If that's not possible, open tools/build/v1/gcc-tool.jam, or similar, and read comments there -- you can specify the compiler to use with -sGXX or something like that. - Volodya

In the current release you can get it work just using that. If you need some
help I can do something.
I've done it for cross-compile my app to android and work just fine,
althougth I had some problems while using 1_33_1.
On Wed, Mar 31, 2010 at 7:36 AM, srinath duraisamy
Hi all,
I have to cross compile the boost 1.33.1 for my development board. I downloaded boost_1_33_1 from the sourceforge download page and I followed the steps provided as per this link ( http://www.boost.org/doc/tools/build/doc/html/bbv2/tasks/crosscompile.html)
1. specify your cross compiler in user-config.jam
using gcc : arm : arm-none-linux-gnueabi-g++ ;
2.
bjam toolset=gcc-arm
It needs bjam, so I download and installed the bjam from boost download page. when I run bjam toolset=gcc-arm, I am getting the following error:
don't know how to make toolset=gcc-arm ...found 1 target... ...can't find 1 target...
It will be very helpful, if someone guide me with the steps to cross compile boost1.33.1 version.
Thanks in advance.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Thanks guys for all your reply.
I took your advice and persuaded my lead to use latest boost version.
Now the application is linking fine but, When I run my application in the
development board it is getting seg fault.
I was using smart pointer to create thread still normal way of creating a
thread also results in seg fault.
Any suggestions on this will be very helpful.
Regards
Srinath.D
On Wed, Mar 31, 2010 at 10:34 PM, Carlos
In the current release you can get it work just using that. If you need some help I can do something. I've done it for cross-compile my app to android and work just fine, althougth I had some problems while using 1_33_1.
On Wed, Mar 31, 2010 at 7:36 AM, srinath duraisamy < mail2srinathd@gmail.com> wrote:
Hi all,
I have to cross compile the boost 1.33.1 for my development board. I downloaded boost_1_33_1 from the sourceforge download page and I followed the steps provided as per this link ( http://www.boost.org/doc/tools/build/doc/html/bbv2/tasks/crosscompile.html)
1. specify your cross compiler in user-config.jam
using gcc : arm : arm-none-linux-gnueabi-g++ ;
2.
bjam toolset=gcc-arm
It needs bjam, so I download and installed the bjam from boost download page. when I run bjam toolset=gcc-arm, I am getting the following error:
don't know how to make toolset=gcc-arm ...found 1 target... ...can't find 1 target...
It will be very helpful, if someone guide me with the steps to cross compile boost1.33.1 version.
Thanks in advance.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Which libraries are you using to link you app?
On Thu, Apr 1, 2010 at 3:50 PM, srinath duraisamy
Thanks guys for all your reply.
I took your advice and persuaded my lead to use latest boost version.
Now the application is linking fine but, When I run my application in the development board it is getting seg fault. I was using smart pointer to create thread still normal way of creating a thread also results in seg fault. Any suggestions on this will be very helpful.
Regards Srinath.D
On Wed, Mar 31, 2010 at 10:34 PM, Carlos
wrote: In the current release you can get it work just using that. If you need some help I can do something. I've done it for cross-compile my app to android and work just fine, althougth I had some problems while using 1_33_1.
On Wed, Mar 31, 2010 at 7:36 AM, srinath duraisamy < mail2srinathd@gmail.com> wrote:
Hi all,
I have to cross compile the boost 1.33.1 for my development board. I downloaded boost_1_33_1 from the sourceforge download page and I followed the steps provided as per this link ( http://www.boost.org/doc/tools/build/doc/html/bbv2/tasks/crosscompile.html)
1. specify your cross compiler in user-config.jam
using gcc : arm : arm-none-linux-gnueabi-g++ ;
2.
bjam toolset=gcc-arm
It needs bjam, so I download and installed the bjam from boost download page. when I run bjam toolset=gcc-arm, I am getting the following error:
don't know how to make toolset=gcc-arm ...found 1 target... ...can't find 1 target...
It will be very helpful, if someone guide me with the steps to cross compile boost1.33.1 version.
Thanks in advance.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
Carlos
-
Paul A. Bristow
-
srinath duraisamy
-
Vladimir Prus