Real-Time Workshop User's Guide    

Third-Party Compiler Installation on Windows

Several of the Real-Time Workshop targets create an executable that runs on your workstation. When creating the executable, the Real-Time Workshop must be able to access a compiler. The following sections describe how to configure your system so that the Real-Time Workshop has access to your compiler.

Borland

Make sure that your Borland environment variable is defined and correctly points to the directory in which your Borland compiler resides. To check this, type

at the DOS prompt. The return from this includes the selected directory.

If the BORLAND environment variable is not defined, you must define it to point to where you installed your Borland compiler. On Microsoft Windows 95 or 98, add

to your autoexec.bat file.

On Microsoft Windows NT, in the control panel select System, go to the Environment page, and define BORLAND to be the path to your compiler.

LCC

The freeware LCC C compiler is shipped with MATLAB, and is installed with the product. If you want to use LCC to build programs generated by the Real-Time Workshop, you should use the version that is currently shipped with the product. Information about LCC is available at
http://www.cs.virginia.edu/~lcc-win32/.

Microsoft Visual C/C++

Define the environment variable MSDevDir to be

Watcom

Make sure that your Watcom environment variable is defined and correctly points to the directory in which your Watcom compiler resides. To check this, type

at the DOS prompt. The return from this includes the selected directory.

If the WATCOM environment variable is not defined, you must define it to point to where you installed your Watcom compiler. On Windows 95 or 98, add

to your autoexec.bat file.

On Windows NT, in the control panel select System, go to the Environment page, and define WATCOM to be the path to your compiler.

Out-of-Environment Error Message

If you are receiving out-of-environment space error messages, you can right-click your mouse on the program that is causing the problem (for example, dosprmpt or autoexec.bat) and choose Properties. From there choose Memory. Set the Initial Environment to the maximum allowed and click Apply. This should increase the amount of environment space available.


 Installing the Real-Time Workshop Supported Compilers