GCC Resources#
The GNU Compiler Collection (GCC) is a widely used multi-language (C, C++, ...) multi-target (ARM, MIPS, PPC, SH4, X86, ...) compiler available on supported hosts.
User Resources#
Developer Resources#
How to build#
- Check out source from branch.
- Change directory into a build directory that matches the desired configuration. If you want the compiler to execute on a Linux host, and generate binaries for an SH4 target, change into the linux-x86-o-ntosh/ directory. If you desire a Windows hosted compiler that generates binaries for a MIPS target, change into win32-x86-o-ntomips/.
- Remove any existing files with the exception of 'GNUmakefile'.
- Type 'make'. The build will take sometime to complete.
- Once Make has successfully completed, if you are on a system that has write permissions on $QNX_HOST and $QNX_TARGET, switch to superuser/administrator access.
- Type 'make install'. The build system will install the compiler into the directories specified in root 'build-hooks' file.
Branches#
Branch | Version | Status |
tools/gcc/trunk | 4.2.1 | Active |
tools/gcc/branches/gcc_3_3_branch/ | 3.3.5 | Inactive |
tools/gcc/branches/gcc_2_95_branch/ | 2.95.3 | Inactive |