To compile any source program, C compiler is required. Compilation process can be made easy using batch/shell files for Windows and Linux respectively. These batch/shell files are stored under the bin directory of VisualSim install. There are two files located in $VS/bin directory called vsconf.bat and vsconf.sh and the two startup scripts in $VS directory called VisualSim.sh and VisualSim.bat. Use the .bat file for windows users and .sh for Linux. The batch/shell files used for compilation are
VSCONF.bat file contains the compiler details mentioned above. Specific variables are used to store them. The user can modify the compiler or furnish the utility details according to the user's needs. Follow the below table to fill in the required information.
VisualSim.bat |
1.
set VS_C_Library= (Base path to where all the source code are
placed. The default within the VisualSim install is
C:\VisualSim\VS800\VS_C_Library.
|
vsconf.bat |
1. SET VSDIR=(This is the path to the compiler). For example, "C:\Program Files\Microsoft Visual Studio 9.0\VC"
|
VisualSim.sh |
1.
set VS_C_Library= (Base path to where all the source code is
placed. The default within the VisualSim install is
User/VisualSim/VS800/UserNativeC.
|
vsconf.sh |
1. export CC=g++
|
Windows: VisualStudio 9.0 and Borland.
Linux and UNIX: g++ 4.0.x.
:cblock
SET CCDIR="C:\Borland\BCC55"
SET CC=bcc32
goto C_APP_block
:cblock
SET CCDIR="D:\Program Files\Microsoft Visual Studio\VC98"
SET CC=cl
goto C_APP_block
export CC=g++
export CCDIR=/usr/bin/ (gcc installer path and this could vary based on your system)
Created with the Personal Edition of HelpNDoc: Easily create Qt Help files