10-14-2013 12:51 PM - last edited on 10-16-2013 08:13 AM by doturner
I've been porting quite a few libraries to BlackBerry 10 recently so I thought I'd share my findings of each one.
Library name: libogg
Version ported: 1.3.1
Build system: autotools
First, make sure your environment is configured for command line development, and that you have autotools installed.
Configuring for QNX ARM (for devices)
./configure --host=arm-unknown-nto-qnx8.0.0eabi --prefix=`pwd`/build/arm-qnx
Configuring for QNX x86 (for simulator)
./configure --host=i486-pc-nto-qnx8.0.0 --prefix=`pwd`/build/x86-qnx
make -j8 make install
Note: the -j flag simply specifies the number of cores I want to use during compilation. It can dramatically decrease build times.
Because I used the --prefix flag the library and header files will be installed under build/<qnx_variant>