Project Home
Project Home
Source Code
Source Code
Discussion Forums
Project Information
Project Info
wiki1092: Resources_GCC

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#

  1. Check out source from branch.
  2. 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/.
  3. Remove any existing files with the exception of 'GNUmakefile'.
  4. Type 'make'. The build will take sometime to complete.
  5. 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.
  6. Type 'make install'. The build system will install the compiler into the directories specified in root 'build-hooks' file.


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