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 Is there any way to maintain multiple versions of gcc on a development machine?
Ref. No. QNX.000010018
Category(ies) Development
Issue It may be desireable to have multiple version of gcc installed on a machine.  An example would be if you are trying to build some old source code and an older gcc is required.  Is there any way to specify that a build should be done with a different gcc install?
Solution You can make a subdir in /etc/qcc. For example:

/etc/qcc/2.8.1

and then if you specify the target as:

qcc -V2.8.1,gcc_ntox86 then it will look in /etc/qcc/2.8.1 for teh conf files.