I'm trying to build this for use with BB10 (actually, the simulator to start) from the command line on Ubuntu 12.10.
Trying the following:
$ git clone git://github.com/blackberry/SDL.git
$ cd SDL
$ . ~/bbndk/bbndk-env.sh
$ ./build_for_playbook.sh
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for arm-unknown-nto-qnx6.5.0eabi-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/singpolyma/src/st-sdl/SDL':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No rule to make target `all'. Stop.
Build Failed!