qcc vs gcc/g++

Can anyone tell me the difference between qcc and gcc/g++!?

regards, Mats P

Mats Pettersson <mats.pettersson@wavium.se> wrote:

Can anyone tell me the difference between qcc and gcc/g++!?

regards, Mats P

qcc is a generic front end manager for dev tools (compilers, …)
It happens that we ship config files for various flavours of gcc,
but if other tools were available, a set of conf files could be
generated to allow qcc to also manage those tools.

A theoretical system could look like: (output of ‘qcc -V’)

$ qcc -V
cc: targets available in /etc/qcc:
gcc_ntox86 (GNU C, default)
gcc_ntoppcbe (GNU C)
gcc_other_os (GNU C)
other_cc_ntox86 (OTHER C)
other_cc_ntoppcbe (OTHER C)
other_cc_other_os (OTHER C)

etc…

Regards,
GP

\

Graeme Peterson
QNX Tools Group
gp@qnx.com

Mats Pettersson <mats.pettersson@wavium.se> wrote:

Can anyone tell me the difference between qcc and gcc/g++!?

The qcc is a ‘front end’ for gcc.The gcc is a front-end for cc1 (which
is real compiler, known as GCC). Command line options/parameters are
different but there is no other difference.

The original purpose of qcc was to provide abstraction layer for masking
differences between GCC, Watcom and Metrowerks compilers.

There is also cc a front-end now, which is standard Unix front-end
intended to mask differences between whatever compilers are available on
a given platform. It also knows what compiler to invoke (C or C++) based
on file extensions. Right now it will invoke gcc/g++.

Above information was found in the Knowledge
base at http://qdn.qnx.com, by searching on “gcc” you found the following
issue:
http://qdn.qnx.com/support/bok/solution.qnx?9995

Best Regards,

Marcin

\

regards, Mats P