Compile and link a program (GNU)
We recommend you use
qcc
instead of invoking g++ directly.
You can use the -V option to qcc to invoke
g++.
For example:
qcc -Vgcc_ntoarmle my_file.cpp |
g++_variant [ option | filename ]...
QNX Neutrino, Linux, Microsoft Windows
The g++_variant depends on the target platform, as follows:
Target platform: | g++_variant: |
---|---|
ARM | ntoarm-g++ |
MIPS | ntomips-g++ |
PowerPC | ntoppc-g++ |
SH4 | ntosh-g++ |
x86 | ntox86-g++ |
See gcc for details.
We recommend you use qcc or QCC instead of gcc to compile and link your programs.
For detailed documentation about gcc, see the GNU website at http://www.gnu.org/.
If you have trouble using the default debug format (-gdwarf), switch to -gdwarf-2 or -gstabs. |
GNU