Regenerating Micro-RTS Dependancies for QNX

Category |  Purpose |  Intended Audience |  Applicable to |  Description |  Limitations |  See also


Category:

Top

Micro-RTS


Purpose:

Top

Provide customers with instructions to regenerate the Micro-RTS dependancies when compiling for QNX.


Intended Audience:

Top

Customers who wish to modify the Micro-RTS code for a QNX target platform


Applicable to:

Top

ObjecTime 5.0


Description:

Top

Customers who have modified their Micro-RTS source code will require the dependancy file to be regenerated.

Normally we use the g++ compiler and Perl to generate the dependancies files for the target platforms. However, the g++ compiler is unavailable for QNX. This document describes the changes that you must make in order to use the Watcom precompiler.

In your targetRTS 'src' directory:

  1. Replace the corresponding lines in the Perl script 'depend.pl' with:
     
    $preprocess = sprintf( "wpp386 -p -pw=999 ", join( ' -I', '', @h_public ) );
    open( MANIFEST, "$preprocess src/MANIFEST |" );

     
  2. Replace references to 'g++' in your 'prepare.mk' file with references to 'wpp386'.
     
  3. Force the dependancies to be regenerated by entering the command:
     
    touch MANIFEST

Important Notes:

You must download a copy of Perl from one of the GNU sites.


Limitations:

Top

None


See also:

Top

None


 

Copyright © 1999, ObjecTime Limited.