Content / Index

Compilation with LCCWIN32

Content (automatic)

Run the file lccwin32.exe (3203KB 16.10.2001) from www.cs.virginia.edu/~lcc-win32 I use as install directory C:\LCC Run the File win32hlp.exe (13156KB 16.10.2002) from www.cs.virginia.edu/~lcc-win32 I use as install directory C:\LCC In my source directory (C:\HOME\CC) there is an environment setup batch file lccwin32.bat.
In my subdirectory C:\HOME\CC\LCCWBAT there is a file for compilation my lccwbat. Then, to compile a simple file use the command ccs (.bat) and to link use the command lnk (.bat).

Appendix, the Files

C:\HOME\CC\lccwin32.bat

PATH=C:\LCC\BIN;C:\HOME\CC\LCCWBAT;C:\EXLCCW;%OPATH%
SET INCLUDE=C:\LCC\INCLUDE
MD C:\EXLCCW
set OE=.OBJ
set OD=LCCWIN32

C:\HOME\CC\LCCWBAT\ccs.bat

LCC %1.CPP
md %OD%
MOVE %1.OBJ %OD%

C:\HOME\CC\LCCWBAT\lnk.bat

LCCLNK %OD%\%1.OBJ
move %OD%\%1.EXE \EXLCCW