| Home
| Previous
| Next
| Up

### Windows hosted tools for RTTarget-32 (start-sdk.bat)

In order to use the Windows hosted environment for On Time RTTarget-32 development, you need to additionally modify the bin\set-vars.bat batch file to reference the location where you have installed the RTTarget-32 SDK headers and libraries.

Once you have the startup file configured, you then need to run the following each time you start a command shell to enable the SciTech makefile utilities (a good idea to put into your startup batch files):

call c:\scitech\bin\set-vars.bat
call c:\scitech\bin\vc60-rtt.bat

The second batch file sets up the compiler configuration for your default compiler. The line above sets up for Microsoft Visual C++ 6.0 32-bit RTTarget-32 compilation. You can choose from the following batch files to configure the build environment for different supported compilers:

32-bit RTTarget-32 support:
bc50-rtt.bat | Borland C++ 5.0 RTTarget-32 programs
bcb5-rtt.bat | Borland C++ Builder 5.0 RTTarget-32 programs
vc50-rtt.bat | Microsoft Visual C++ 5.0 RTTarget-32 programs
vc60-rtt.bat | Microsoft Visual C++ 6.0 RTTarget-32 programs
ow10-rtt.bat | Open Watcom C++ 1.x RTTarget-32 programs

Note that invoking these RTTarget-32 batch files may set or clear options for linking with additional On Time libraries like RTFiles-32 and RTKernel-32, or the DLL version of RTTarget-32. You can change the environment variable options from the command line, though may wish to change them by modifying the respective batch files.

Also note that while On Time RTTarget-32 version 4.x release does not officially support Watcom C, it is still possible to compile and link with the DLL version of RTTarget-32 using OpenWatcom C 1.x and the DLL import libraries provided in the On Time SDK for Microsoft Visual C.

Note: If you wish to use RTFiles-32 filesystem support (controlled by the USE_RTFILES32 environment variable), you will need to copy the RTFiles-32 SDK example Init.c module or similar version into the PM library compilation path. This will insure that the RTFiles-32 filesystem declarations are included in your SNAP application and initialized at startup by RTTarget-32. If your own custom modified version renamed the initialization function, you should refer to the PM library source to make any changes.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com