Re: Watcom not compiling
- Posted by fizzpopsoft Dec 09, 2016
- 1682 views
Hi Don,
no problem, the command to compile is the same, change "-wat" to "-gcc".
But the environmental variables need to change, here are my BAT files to set that:
@echo off
echo GCC Build Environment
set PATH=d:\euphoria\mingw\BIN;%PATH%
set PATH=d:\euphoria\mingw\mingw32\BIN;%PATH%
set PATH=d:\euphoria\bin;%PATH%
set INCLUDE=d:\euphoria\mingw\include;%INCLUDE%
set INCLUDE=d:\euphoria\mingw\lib;%INCLUDE%
set GCC=d:\euphoria\mingw
set EUDIR=D:\euphoria
set EUINC=D:\euphoria\include
@echo off
echo Open Watcom Build Environment
set PATH=d:\euphoria\WATCOM\BINNT;%PATH%
set PATH=d:\euphoria\WATCOM\BINW;%PATH%
set PATH=d:\euphoria\bin;%PATH%
set INCLUDE=d:\euphoria\WATCOM\H\NT;%INCLUDE%
set INCLUDE=d:\euphoria\WATCOM\H;%INCLUDE%
set WATCOM=d:\euphoria\WATCOM
set EDPATH=d:\euphoria\WATCOM\EDDAT
set EUDIR=D:\euphoria
set EUINC=D:\euphoria\include