Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
wiki1036: Home page (Version 7)

Welcome to the Toolchain Project Wiki#

The toolchain project provides the essential programming tools necessary to develop Neutrino applications.

GCC#

Description

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.

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 llinux-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.

Branches

BranchVersionStatus
product/trunk/tools/gcc/ 4.2.x Active
product/trunk/tools/gcc-3.4/ 3.4.6 Inactive
product/branches/old/BX630SP2_1315_gcc-335/tools/gcc 3.3.5 Inactive
product/branches/old/BX630SP2_1314_gcc-2953/tools/gcc 2.95.3 Inactive

GDB#

Description

The GNU Debugger (GDB) is a standard source-level debugger available on several platforms. GDB can be used as a native debugger on x86 Neutrino hosts and as a host side debugger with remote debugging facilities necessary to debug embedded targets.

How to build

  1. Check out source from branch.
  2. Change directory into a build directory that matches the desired configuration. If you want thedebugger to execute on a Linux host, and debug Sh4 binaries, change into the llinux-x86-o-ntosh/ directory. If you desire a Windows hosted debugger that debugs MIPS binaries, 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 debugger into the directories specified in root 'build-hooks' file. (Default: $QNX_HOST/usr/bin)

Branches

BranchVersionStatus
product/trunk/tools/gdb 6.6 Active
product/branches/old/BX630_193_release/tools/gdb 5.2.1 Inactive

binutils#

Description

The GNU binutils are a set of binary utilities that are used to manipulate object files. The primary utilities used in the toolchain are the assembler (gas) and the linker (ld).

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 binutils to execute on a Linux host, and generate binaries for an SH4 target, change into the llinux-x86-o-ntosh/ directory. If you desire a Windows hosted binutils 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 binutils into the directories specified in root 'build-hooks' file.

Branches

BranchVersionStatus
product/trunk/tools/binutils 2.17 Active
product/branches/old/BX_binutils_216/tools/binutils-2.16 2.16 Inactive
product/branches/old/BX_binutils_212/tools/binutils-2.12 2.12 Inactive
product/branches/old/BX_binutils_210/tools/binutils-2.10 2.10 Inactive

make#

Description

Make is a utility for controlling and automating the build of applications.

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 make executable to run on a Linux host, change into the llinux-x86-o/ directory. If you desire a Windows hosted make executable, change into win32-x86-o/
  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. Copy the make executable into $QNX_HOST/usr/bin/

Branches

BranchVersionStatus
product/trunk/tools/make 3.8.1 Active
product/branches/old/BX630_193_release/tools/make 3.8.0 Inactive

nasm#

Description

NASM, is a free Intel x86 assembler that allows assembly applications to be ported across 32-bit x86 OSes.

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 nasm executable to run on a Linux host, change into the llinux-x86-o/ directory. If you desire a Windows hosted nasm executable, change into win32-x86-o/
  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. Copy the nasm executable into $QNX_HOST/usr/bin/

Branches

BranchVersionStatus
oroduct/trunk/tools/nasm/ 0.98.39 Active
product/branches/old/BX630_193_release/tools/nasm 0.98.35 Inactive