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 Changing versions of Watcom compilers
Ref. No. QNX.000000599
Category(ies) Development
Issue We have both Watcom 9.52 and 10.6 installed.  Depending on the project either may be used in our development. Is there a switch that will allow us to switch between compilers?




Solution Yes, when compiling with the currently installed version the file /etc/default/cc is used unless the -v switch is used to cc.

e.g. The default is most likely 10.6, so invoking "cc -v9.52 ..." will invoke version 9.52 of the Watcom C compiler.