Ecw for Borland
- Posted by Ken Roger <kennethroger at PRODIGY.NET> Nov 04, 2000
- 417 views
I couldn't get the new Borland ecw to generate emake.bat for bcc32. It insists on generating it for lcc even though there is no lcc environment variable and there is a (otherwise unused) bcc environment variable. Compiling manually and using upx works. The winwire demo compiles to a 60k executable, and the generic win32lib demo to 142k. @echo off rem goecwb.bat if "%1"=="" goto usage if exist %1 goto usage %eudir%\ecwb\ecw %1.exw bcc32 -w- -5 -tW -e%1.exe *.c %eudir%\ecwb\ecw.lib upx %1.exe del *.c del main_.h del emake.bat del objfiles.lnk del *.obj del %1.tds goto done :usage echo usage: goecwb file --file.exw assumed, uses bcc32 :done