windows Linux BSD
FOR WINDOWS
put OpenGl Modified / Fixed Files Incluse in more_Files/Windows
replace default WATCOM files
you need to place the files from the more_Files/windows
directory inside the Open Watcom installation location
the default location is C:\WATCOM
FOR LINUX
I am using Debian 12 , in case you are using another linux distribution , use some things as base
you need to extract open-watcom-c-linux-1.9
file
with unzip .
you need to install unzip or something of your choice, but here is unzip.
sudo apt-get install unzip
in the directory where you downloaded the file open-watcom-c-linux-1.9
put the following command
unzip open-watcom-c-linux-1.9 -d WATCOM
and will extract the files to the directory called WATCOM
after this process it is necessary to move this directory to
/usr/bin
with administrator permissions, move the WATCOM
directory to getting like this /usr/bin/WATCOM
nano ~/.bashrc
you need a script and define Watcom Files path to linux put the code in .bashrc
and now put the entire code below inside the .bashrc file, open the .bashrc and at the end of it put the following code.
# Open Watcom 1.9 Path Script:
# ---------------------------------------------------------------------------
export WATCOM=/usr/bin/WATCOM
export PATH=$WATCOM/binl:$PATH
export EDPATH=$WATCOM/eddat
export INCLUDE=$WATCOM/lh
export LIB=$WATCOM/libl
# ---------------------------------------------------------------------------
after this , get WATCOM dir ADMIN .
sudo chmod -R 777 /usr/bin/WATCOM
Just Wait
GNU_GCC