________________________________________________________________________
Applicable Environment
________________________________________________________________________
- Topic: Run configuration scripts for QNX targets
- SDP: 6.5.0, 6.6.0
- Target: Any supported target
________________________________________________________________________
Recommendation
________________________________________________________________________
Many third party source is distributed in a tarball with a configure script to set OS specific environments. To configure such a source for QNX the --host=<OS> option with one of the following <OS> lines should be used after the environment has been set properly.
o QNX650
X86: i486-pc-nto-qnx6.5.0
ARM: arm-unknown-nto-qnx6.5.0
PPCBE: powerpc-unknown-nto-qnx6.5.0
MIPS: mips-unknown-nto-qnx6.5.0
SH4: sh-unknown-nto-qnx6.5.0
o QNX660
ARMv7: arm-unknown-nto-qnx6.6.0eabi
x86: i486-pc-nto-qnx6.6.0
Caveat: the other options of the configure script need to be taken into account as well. So it is recommended to first run './configure --help' to see if other options should be set.
For example: to configure for an ARMv7 target running QNX660 the script should be called like this:
./configure --host=arm-unknown-nto-qnx6.6.0eabi
The script should now find the correct compiler, linker etc on its own and build the proper binary.
________________________________________________________________________
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns. ________________________________________________________________________