QNX Technical Articles
QNX® Momentics® 6.3.0 Patch for the Intel Compiler ICC 8.1 Installation Note
Date of this edition: January 14, 2005
Target OS: QNX® Neutrino® 6.3.0
Host OS: Microsoft Windows XP SP1 or SP2; Microsoft Windows 2000 SP4
![]() |
This patch is included in QNX Momentics 6.3.0 Service Pack 1.
We highly recommend that you install SP1 instead of this patch.
|
Contents
List of files
This patch includes the following files:
- host/win32/x86/usr/bin/ldbootstrap.exe
- host/win32/x86/usr/bin/qcc.exe
- target/qnx6/usr/include/arm/platform.h
- target/qnx6/usr/include/complex.h
- target/qnx6/usr/include/graphics/dinline.h
- target/qnx6/usr/include/mips/platform.h
- target/qnx6/usr/include/ppc/platform.h
- target/qnx6/usr/include/setjmp.h
- target/qnx6/usr/include/sh/platform.h
- target/qnx6/usr/include/stdarg.h
- target/qnx6/usr/include/sys/cdefs.h
- target/qnx6/usr/include/sys/compiler_gnu.h
- target/qnx6/usr/include/sys/compiler_intel.h
- target/qnx6/usr/include/varargs.h
- target/qnx6/usr/include/x86/neutrino.h
- target/qnx6/usr/include/x86/platform.h
- target/qnx6/usr/include/x86/priv.h
- target/qnx6/usr/include/zconf.h
Installation procedure
![]() |
You should back up the affected files before you install this patch. For more information, see "Applying the patch," below. |
To install this patch:
- Log in with administrator privileges.
- Download the archive to your host environment.
- Determine the base directory of your QNX Momentics installation
by opening a command shell and using the
qconfig command.
For example:
C:\>qconfig QNX Installations Installation Name: QNX Momentics 6.3.0 Version: 6.3.0 Base Directory: C:/QNX630/ QNX_HOST: C:/QNX630/host/qnx6/x86/ QNX_TARGET: C:/QNX630/target/qnx6/
The base directory in this example is C:/QNX630/, but it could be different on your machine, depending on where you installed QNX Momentics.
- Extract the archive you downloaded into the base directory:
- Method 1: Command-line based
- Do the following:
- Open a command prompt (command.com) and switch to the drive indicated in the base directory that you found above (e.g. C:).
- Copy the archive to your base directory, replacing base_dir
with the path you found in step 2:
copy drive:\archive_path base_dir
- Use the following commands to extract the archive contents.
Don't specify the drive letter in the archive path:
cd base_dir
tar -xvf patch-630-0029-ICC.tar
- Method 2: GUI based
- Use any GUI-based application that supports the TAR
format (e.g. WinZIP). Ensure that the destination directory
is your base directory.

If you use WinZIP, choose Options-->Configuration, switch to the Miscellaneous tab in this dialog, and turn off the TAR file smart CR/LF conversion option. If this option is turned on, and you extract the archive, then your shiplist file will contain ^M characters.
- Next, you must incorporate the patch into your host system; see below.
Applying the patch
The patch is stored in a directory (or folder) that's separate from your existing development system:
base_dir/patches/630-number/
Some files of interest within the 630-number directory are:
- version
- Includes the patch number and the build information.
- manifest
- Contains the checksums of the files shipped in the patch (as generated by the cksum utility).
- shiplist
- A list of the files included in the patch.
The remaining files in the directory comprise the new software delivered in the patch. As this is a patch to the QNX Momentics Development Suite, this software is contained in two directories:
- host
- Fixes related to the development tools and environment that runs on the host.
- target
- Fixes related to components that would be built into QNX Neutrino target systems.
To apply the patch, you need to copy the new files on top of the old ones in your development system.
![]() |
Since this is a destructive procedure, we recommend that you create a backup of the affected files. |
Making a backup
To create a backup:
- From the command.com prompt, run ksh:
ksh
- Go to the base directory:
cd base_dir
- Make a backup copy of the files that will be overwritten:
pax -w < patches/630-0029/shiplist > patches/630-0029-backup.tar
You may ignore the expected error messages that result from pax's attempt to back up nonexistent files for host operating systems other than the one you're using.
- Exit ksh:
exit
Copying the files
To apply the patch on a Windows system from the command prompt (remember to switch back to command.com from ksh):
- Switch to the drive specified in your base directory (e.g. C:).
- Go to the base directory (remember to replace / characters in the base directory with \):
cd base_dir
- Install the host updates:
xcopy patches\630-0029\host host /s /i /v /y
- Install the target updates:
xcopy patches\630-0029\target target /s /i /v /y
Technical support
If you have any questions, comments, or problems with a QNX product, please contact Technical Support. For more information, see the How to Get Help chapter of the Welcome to QNX Momentics guide or visit our website, www.qnx.com.
