Real-Time Workshop | ![]() ![]() |
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, Real-Time Workshop must be able to access an appropriate compiler. The following sections describe how to configure your system so that Real-Time Workshop can access 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
On Microsoft Windows NT or 2000, in the control panel select System, click on the Advanced tab, select Environment, 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 Real-Time Workshop, 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
MSDevDir=<path to compiler>\SharedIDE
for Visual C/C++ 5.0
MSDevDir=<path to compiler>\Common\MSDev98 for Visual C/C++ 6.0
Watcom
Note The Watcom C compiler is no longer available from the manufacturer. Development of this compiler has been taken over by the Open Watcom organization (http://www.openwatcom.org), which, as of this printing, has released a binary patch update (11.0c) for existing Watcom C/C++ and Fortran customers. Real-Time Workshop continues to ship with Watcom-related target configurations. However, this policy may be subject to change in the future. |
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
On Microsoft Windows NT or 2000, in the control panel select System, click on the Advanced tab, select Environment, 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 Real-Time Workshop | Supported Compilers | ![]() |