How to install gcc Version 3.3.1

We have installed the QNX Neutrino hosted SE Version 6.3. We have been
developing using the GNU c++ 2.95.3.compiler(default). I have noticed that
the GNU c++ 3.3.1 is present on the disk. How do you install or redefine
the settings to use this more recent compiler.

david chivers <david@emulatorsinternational.com> wrote:

We have installed the QNX Neutrino hosted SE Version 6.3. We have been
developing using the GNU c++ 2.95.3.compiler(default). I have noticed that
the GNU c++ 3.3.1 is present on the disk. How do you install or redefine
the settings to use this more recent compiler.

Different -V option to qcc.

Try “qcc -V” to get the list.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

Hi David.

You can do a “GCC_VERSION=3.3.1 make” in your project to build it for
3.3.1, or if you want to switch to it by default, edit
$QNX_HOST/etc/qcc/gcc/default and change the value to DIR=3.3.1

Hope this helps,
-Jay.

david chivers wrote:

We have installed the QNX Neutrino hosted SE Version 6.3. We have been
developing using the GNU c++ 2.95.3.compiler(default). I have noticed that
the GNU c++ 3.3.1 is present on the disk. How do you install or redefine
the settings to use this more recent compiler.