Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title A "hello world" program crashes when it is run on QNX4
Ref. No. QNX.000010193
Category(ies) Development
Issue A "hello world" program was written and compiled on a QNX4 system. When it is run a messages like this ".... terminated (SIGSEGV) at 0007: 000000, %1 23528 memory fault." is caused.  The program was compiled useing the following line:

"qcc -vv -V gcc_ntox86 hello.c"

Solution This program has been compiled to run run on a machine running Neutrino.  If you wish to compile a program to run on QNX4 then use the "cc" command.