Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
wiki1347: Downloads_gcc4.2Preview (Version 5)


GCC 4.2 Preview Build#

Download the latest stable build of the QNX port for GCC 4.2, and experiment with its new features. Please provide your feedback using the Core Development Tools Forum.


What's new?#

GCC 4.2.1 port#

  • New C parser (available in gcc 4.1 and newer). Yacc-based C parser was replaced with a faster hand-written parser.
  • New C++ parser (availble in gcc 3.4 and newer). g++ is now much closer to full conformance to the ISO/ANSI C++ standard.
  • New optimization framework based on SSA. New code transformations include dead store elimination,
  • constant propagation, value range propagation, load and store motion, strength reduction and many more.
  • Optimized ARM floating point emulation routines
  • Support for precompiled headers (requires updated qcc)

Binutils 2.17 port#

  • Support added for ARM V6
  • Support added for ARM VFP floating-point instruction set
  • Support added for SH4a and variants.
  • Support added for SSE3 instructions.

Installation Instructions#

To install the GCC 4.2 preview:

  1. If you haven't done so yet, download and install QNX Momentics 6.3.2. A 90-day evaluation version and perpetual non-commercial licenses are available here.
  2. Download GCC 4.2 from the Project Download area. If you have a Windows host, download win32-gcc-4.2.1.zip. If you have a Linux host, download linux-gcc-4.2.1.tar.gz. If you have a Neutrino host, download the nto-gcc-4.2.1.tar.gz.
  3. Once you have the GCC 4.2 package, change directories to your root QNX630 directory. For example, on a Windows host, the default is typically C:\QNX630, however your install may differ. For Linux and Neutrino hosts, the default root QNX directory is usually /opt/qnx630 and /usr/qnx630, respectively.
  4. Uncompress the GCC4.2 package into this directory. If you are on a system that has write permissions to $QNX_HOST/$QNX_TARGET, change to superuser/administrator access before uncompressing.

After You Install#

After the package is uncompressed, you will be able to use the GCC 4.2.1 compiler by invoking the qcc driver and specifying the 4.2.1 version. For example: qcc -V4.2.1,gcc_ntoshle helloworld.c


Licensing#

This is experimental code being provided for evaluation purposes only, and is under the terms of a valid QNX Momentics development tool license agreement.