Let's start by looking at some things you should consider when you start to write a program for
the QNX Neutrino RTOS.
Choosing the version of the OS
You can install and work with multiple versions of QNX Neutrino. Whether you're using the command line or the IDE, you can choose which version of the OS to build programs for.
Making your code more portable
To help you create portable applications, the QNX Neutrino RTOS lets you compile for specific standards and include OS-specific code.
Cross-development
In this section, we'll describe how to compile and debug a QNX Neutrino system. Your QNX Neutrino system might be anything from a deeply embedded turnkey system to a powerful multiprocessor server. You'll develop the code to implement your system using development tools running on a supported cross-development platform.
Using libraries
When you're developing code, you almost always make use of a library, a collection of code modules that you or someone else has already developed (and hopefully debugged).
Linking your modules
To link your application against a library, use the -l option to qcc, omitting the lib prefix and any extension from the library's name. For example, to link against libsocket, specify -l socket.