As a newbie of QNX, I start writing my first test programe according to
the documents, HELPs of Neutrino RTOS platform which downloaded from
QNX website, etc. I want to make a floppy image to boot my standard X86
PC, So write it as follows:
A “Hello World” programe:
#include <stdio.h>
int main(void)
{
printf(“Hello, world!\n”);
return(0);
}
You start process ‘hello’ the process exits and next there is nothing to do.
You can start shell i.e. esh, ksh to interact with os. I put you an example:
…
[+script] .script={
devc-ser8250 -e -b9600 -c20000000 &
reopen
display_msg Go on, Peter!
hello
[+session] esh
}
…
As a newbie of QNX, I start writing my first test programe according to
the documents, HELPs of Neutrino RTOS platform which downloaded from
QNX website, etc. I want to make a floppy image to boot my standard X86
PC, So write it as follows:
A “Hello World” programe:
#include <stdio.h
int main(void)
{
printf(“Hello, world!\n”);
return(0);
}