Re: CHANGES IN BUILDING SOURCE ?
- Posted by bernie Feb 27, 2009
- 759 views
No. Similar things have happened several times, where configure options were changed without much documentation or notice given. I rarely build DOS binaries, but I suspect that you may need to set the eubin config option. Could you post your config.wat file?
My build batch file.
This has worked in the past.
-------------------------------------------------------eubin e:\eu_master\bin
set SRC=E:\eu_master\source
set BIN=E:\eu_master\bin
set WIN98=E:\WIN98BIN
set WINXP=E:\WINXPBIN
wmake -f makefile.wat clean
wmake -f makefile.wat distclean
call configure
wmake -f makefile.wat all
echo COPYING WINXP BINARIES WINXPBIN
if exist %SRC%\BACKENDD.EXE copy /Y %SRC%\BACKENDD.EXE %WINXP%\
if exist %SRC%\EC.EXE copy /Y %SRC%\EC.EXE %WINXP%\
if exist %SRC%\ec.lib copy /Y %SRC%\ec.lib %WINXP%\
if exist %SRC%\EX.EXE copy /Y %SRC%\EX.EXE %WINXP%\
if exist %SRC%\backendc.exe copy /Y %SRC%\BACKENDC.EXE %WINXP%\
if exist %SRC%\backendw.exe copy /Y %SRC%\BACKENDW.EXE %WINXP%\
if exist %SRC%\ecw.lib copy /Y %SRC%\ecw.lib %WINXP%\
if exist %SRC%\ecw.exe copy /Y %SRC%\ecw.exe %WINXP%\
if exist %SRC%\exwc.exe copy /Y %SRC%\exwc.exe %WINXP%\
if exist %SRC%\exw.exe copy /Y %SRC%\exw.exe %WINXP%\
echo MOVING THE WINXP BINARIES TO eu_master\BIN
if exist %SRC%\BACKENDD.EXE move /Y %SRC%\BACKENDD.EXE %BIN%\
if exist %SRC%\EC.EXE move /Y %SRC%\EC.EXE %BIN%\
if exist %SRC%\ec.lib move /Y %SRC%\ec.lib %BIN%\
if exist %SRC%\EX.EXE move /Y %SRC%\EX.EXE %BIN%\
if exist %SRC%\backendc.exe move /Y %SRC%\BACKENDC.EXE %BIN%\
if exist %SRC%\backendw.exe move /Y %SRC%\BACKENDW.EXE %BIN%\
if exist %SRC%\ecw.lib move /Y %SRC%\ecw.lib %BIN%\
if exist %SRC%\ecw.exe move /Y %SRC%\ecw.exe %BIN%\
if exist %SRC%\exwc.exe move /Y %SRC%\exwc.exe %BIN%\
if exist %SRC%\exw.exe move /Y %SRC%\exw.exe %BIN%\
wmake -f makefile.wat clean
wmake -f makefile.wat distclean
call configure eubin e:\eu_master\bin managed-mem
wmake -f makefile.wat
echo MOVING THE WIN98 BINARIES TO WIN98BIN
if exist %SRC%\BACKENDD.EXE move /Y %SRC%\BACKENDD.EXE %WIN98%\
if exist %SRC%\EC.EXE move /Y %SRC%\EC.EXE %WIN98%\
if exist %SRC%\ec.lib move /Y %SRC%\ec.lib %WIN98%\
if exist %SRC%\EX.EXE move /Y %SRC%\EX.EXE %WIN98%\
if exist %SRC%\backendc.exe move /Y %SRC%\BACKENDC.EXE %WIN98%\
if exist %SRC%\backendw.exe move /Y %SRC%\BACKENDW.EXE %WIN98%\
if exist %SRC%\ecw.lib move /Y %SRC%\ecw.lib %WIN98%\
if exist %SRC%\ecw.exe move /Y %SRC%\ecw.exe %WIN98%\
if exist %SRC%\exwc.exe move /Y %SRC%\exwc.exe %WIN98%\
if exist %SRC%\exw.exe move /Y %SRC%\exw.exe %WIN98%\
set SRC=
set BIN=
set WIN98=
set WINXP=
echo OPERATION COMPLETE !
pause
This is what my config.wat looks like.
-------------------------------------------------------
# Configuration for Watcom
EUBIN=e:\eu_master\bin
EUPHORIA=1
DELTREE=del /Q /S
RM=del /Q
RMDIR=rmdir /Q/S
TRUNKDIR=E:\eu_master
BUILDDIR=E:\eu_master\source
The compiler runs so fast that it is hard to see what
it is doing during the compile.
I think it has to do something with DOS having to use
managed memory in some part of the makefile but the
make file is too complicated for me figure out.
Maybe someone that understands it can look makefile.wat
from SVN1388 and compare it with the new makefile.wat and
determine whats wrong or different with the new makefile.