Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
Posts: 30
Registered: ‎02-23-2012
My Device: PlayBook
My Carrier: Bell

Re: Crash course for command line tools with NDK ?

[ Edited ]

No, I haven't and I didn't bother because I got 1.42 working fairly well now. I had a quick look but figured the way bjam works was changed for some reason.

 

BTW: One thing I forgot. boost/detail/endian.hpp needs to be updated to support ARM:

 

#elif defined(__i386__) || defined(__alpha__) \

...

     || defined(_M_X64) || defined(__bfin__) \

// Add it here:
     || defined(__arm__)

# define BOOST_LITTLE_ENDIAN
# define BOOST_BYTE_ORDER 1234
#else

...

 

 

I think this might also be true for later versions.

Highlighted
New Contributor
Posts: 2
Registered: ‎05-08-2012
My Device: Playbook
My Carrier: ATT

Re: Crash course for command line tools with NDK ?

Here's the bjam setup I'm using.  If you discovered a better configuration please lest me know.

 

SET DRIVE=D:
SET BOOSTVER=1_49_0

 

bjam -a -q -j4 --prefix=%DRIVE%\boost --build-type=minimal --build-dir=%DRIVE%\boostBuild_%BOOSTVER% --layout=system toolset=qcc target-os=qnxnto threadapi=pthread --
variant=release link=static threading=multi runtime-link=shared --without-python --without-mpi install >build.log 2>&1