Compile and link a program (GNU)

Note: 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_ntoarmv7le my_file.cpp


g++_variant [ option | filename ]...

where g++_variant depends on the target platform, as follows:

Target platform g++_variant
ARMv7 ntoarmv7-g++
AArch64 ntoaarch64-g++
x86 ntox86-g++
x86 64-bit ntox86-g++

Runs on:

Linux, Mac, Microsoft Windows


See gcc for details.

We recommend you use qcc or q++ instead of gcc to compile and link your programs.

For detailed documentation about gcc, see the GNU website at http://www.gnu.org/.

Note: If you have trouble using the default debug format (-gdwarf), switch to -gdwarf-2 or -gstabs.

Contributing author: