QNX

Use the application commands to rebuild the framework for the QNX environment.

To rebuild the IBM® Rational® Rhapsody® framework for the QNX environment:

  1. Open an application command prompt window.
  2. Set the following environment variables:

    set QNXROOT= <your_QNX_install_dir>
    set QCC_CONF_PATH=%QNXROOT%/host/win32/etc/qcc
    set QNX_TARGET=%QNXROOT%/target/qnx6
    set QNX_HOST=%QNXROOT%/host/win32
    set LD_LIBRARY_PATH=%QNXROOT%/target/qnx6/lib
    set PATH=%QNX_HOST%/binwin;%PATH%
  3. Navigate to the directory <Rational_Rhapsody_install>\Share\LangCpp and execute one of the following commands:

    make -f qnxcwbuild.mak CPU=ppc CPU_SUFFIX=be PATH_SEP=\\
    or
    make -f qnxcwbuild.mak CPU=x86 PATH_SEP=\\

    In the first command (for ppc), CPU_SUFFIX can be one of the following values:

    1. be - Big-endian
    2. le - Little-endian

      In the second command (for x86), do not include the CPU_SUFFIX in the command.

      If wanted, you can specify the TARGETS attribute, which enables you to build only part of the framework. The possible targets are as follows:

    3. oxflibs
    4. aomlibs
    5. omcomlib
    6. tomlib
    7. webcomponentslib

      For example:

      make -f qnxcwbuild.mak CPU=ppc CPU_SUFFIX=be PATH_SEP=\\
      TARGETS=oxflibs

  4. To run the model, Generate and Make the model in Rational Rhapsody, then upload or transfer your application to the QNX machine using the Momentics IDE or by using ftp, and executing the application on the target machine (suitable for x86).

Feedback