How to compile Simple C program in QNX -


i trying compile simple c program using qnx shown below.

conftest.c

int main () {   return 0; } 

compiling option:

qcc conftest.c -v4.7.3,gcc_ntoarmv7le_cpp

compiler throw error below

cc: ignoring unknown option '"-d__gnuc__' cc: ignoring unknown option '"-d__gnuc__' cc: ignoring unknown option '   --dynamic-linker /usr/lib/ldqnx.so.2 --sysroot' cc: ignoring unknown option '   --hash-style' cc: ignoring unknown option '%(fmudflap: --wrap' cc: ignoring unknown option '"-d__gnuc__' cc: ignoring unknown option '"-d__gnuc__' cc: ignoring unknown option '   --dynamic-linker /usr/lib/ldqnx.so.2 --sysroot' cc: ignoring unknown option '   --hash-style' cc: ignoring unknown option '%(fmudflap: --wrap'  failed: no such file or directoryys-qnx-660-all/bin/sys/qnx/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.7.3/  failed: no such file or directoryys-qnx-660-all/bin/sys/qnx/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-as  error 1e//desktop/sys-qnx-660-all/bin/sys/qnx/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.7.3/  error 1e/desktop/sys-qnx-660-all/bin/sys/qnx/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-as 

how compile it?

what can can compile through qnx ide . remember not change default template signature .

int main(int argc, char *argv[]) {     return 0;     } 

right click on project & first clean project build project . if still not compile let me know .

also, url may .


Comments