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 Contributor
Posts: 2
Registered: ‎12-27-2013
My Device: BB 10
My Carrier: Vodafone




I'm trying to build open source libraries for the BB10 on Windows using Cygwin. Has anyone achieved this?


I have followed the instructions on the Blackberry website here:




The configure script always fails with unknown host arm-unknown-nto Here is the output:


checking build system type... x86_64-unknown-cygwin
checking host system type... Invalid configuration `arm-unknown-nto-qnx8.0.0eabi': machine `arm-unknown-nto' not recognized
configure: error: /bin/sh config/config.sub arm-unknown-nto-qnx8.0.0eabi failed

According to the following webpage:




calling qcc with a parameter -Vgcc should list all available configurations, using the variable ${QCC_CONF_PATH}. However if I call this no targets are found:


Andy@andyw-01 /cygdrive/c/SourceCode/Build

Andy@andyw-01 /cygdrive/c/SourceCode/Build
$ qcc -Vgcc,
cc: no targets defined in /cygdrive/c/DevTools/bbndk/host_10_2_0_15/win32/x86/etc/qcc/gcc!

 Looking on my disk, the files are in the following location:




So I also tried the following, to no avail:


Andy@andyw-01 /cygdrive/c/SourceCode/Build
$ qcc -Vgcc/4.6.3,
cc: no targets defined in /cygdrive/c/DevTools/bbndk/host_10_2_0_15/win32/x86/etc/qcc/gcc/4.6.3!

 If inspect the directory I do see some conf files:

Andy@andyw-01 ~
$ ls /cygdrive/c/DevTools/bbndk/host_10_2_0_15/win32/x86/etc/qcc/gcc/4.6.3/
default                       gcc_ntox86.conf
gcc_ntoarmv7le.conf           gcc_ntox86_cpp.conf
gcc_ntoarmv7le_cpp.conf       gcc_ntox86_cpp++.conf
gcc_ntoarmv7le_cpp++.conf     gcc_ntox86_cpp-ne.conf
gcc_ntoarmv7le_cpp-ne.conf    gcc_ntox86_cpp-ne++.conf
gcc_ntoarmv7le_cpp-ne++.conf  gcc_ntox86_gpp.conf
gcc_ntoarmv7le_gpp.conf       gcc_ntox86_gpp++.conf
gcc_ntoarmv7le_gpp++.conf     gcc_ntox86++.conf


Any suggestions?



BlackBerry Development Advisor
Posts: 143
Registered: ‎03-08-2012
My Device: Z10
My Carrier: Bell

Re: Cgywin

The first error you mentioned indicates the configure script for the package you are trying to port does not recognize the cygwin environment thus it may not be setting up all of the dependencies correctly.  You have to be careful when using cygwin that the software you are porting supports cygwin.  Some cygwin developers port packages on their own and you can usually search for cygwin ports of popular packages at cygwin.com. 


My first suggestion would be to see if you can find a source version of this library for cygwin (it might be one of the optional packages available from the cygwin installer), install that first, and then modify that version to support QNX.


Please reply back if this course of action poses issues.  Thanks.