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

New Member
Posts: 1
Registered: ‎06-15-2013
My Device: Z10
My Carrier: Vodafone Germany

Setting up clang/gcc for objc development

Hey there,


i'd like to develop Blackberry10 applications in Objective-C, using a framework which supports QNX, so should run on BB, or at least be easy to port.


My problem right now is, that the gcc bundled with the ndk wasnt compiled with objc support.

So, someone have some documentation how to set up a custom gcc/clang (clang would be better) on linux/mac wich can cross compile objc for bb10?

BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: Setting up clang/gcc for objc development

try using gcc -v to dump the config flags used to build the BB10 gcc.  then use those as a starting point for building your own cross-compiler.