Compile and link a program (GNU)
gcc_variant [ option | filename ]... g++_variant [ option | filename ]...
where gcc_variant and g++_variant depend on the target platform, as follows:
Target platform | gcc_variant | g++_variant |
---|---|---|
ARMv7 | ntoarmv7-gcc | ntoarmv7-g++ |
AArch64 | ntoaarch64-gcc | ntoaarch64-g++ |
x86 | ntox86-gcc | ntox86-g++ |
x86 64-bit | ntox86_64-gcc | ntox86_64-g++ |
Linux, Mac, Microsoft Windows
We recommend you use qcc or q++ instead of gcc or g++ to compile and link your programs. You can use the -V option to qcc or q++ to invoke gcc or g++. For example:
qcc -Vgcc_ntoarmv7le my_file.c
For detailed documentation about gcc, go to https://gcc.gnu.org/onlinedocs/.
GNU