User guide
210 CHAPTER 12. INSTALLATION
I installed the fre e l y available .NET Framework 3.5 and the corresponding SDK 3.5.
This provided amongst many other thi ngs a C compiler and all the relevant librari es .
I then created a shortcut on the desktop with
Target: %SystemRoot%\system32\cmd.exe /q /k os\windows\VC8env.bat
and
Start in: E:\distribution\BCPL\cintcode
Double clicking on this shortcut opens a Shell window with the required environ-
ment variable all set up C compilation and the BCPL running environment. If they
are not correct you may have to edit VC8env.bat. The BCPL system was then rebuilt
by the commands:
nmake /f os/windows/MakefileVC clean
nmake /f os/windows/MakefileVC
This should r e com pi l e and link all the C code of the BCPL Cintcode system and
then recompile all the standard BCPL sy s te m programs and commands. For good
measure, once the BCPL Cintcode system has been entered, recompile all the BCPL
code again by typing:
c compall
12.5 Installation using Cygwin
I recommend using the GNU development tools and utilities for Windows that are
available from http://sourceware.cygnus.com/cygwin/.
Edit the cintcode/Makefile to comment out the LINUX ver si on
CC = gcc -O9 -DforLINUX -DSOUND -DCALLC -lm
SYSM = ../cintcode/sysasm/linux
and enable the CYGWIN32 version
CC = gcc -O9 -DforCYGWIN32 -DSOUND -DCALLC -lm
SYSM = ../cintcode/sysasm/CYGWIN32
Then type:
make
This should recompile the system and create the exe c utab l e cintsys.exe.
Remember to include t he cintcode directory i n your PATH and BCPLPATH shell
variables, so that the cintsys can be run in any dire c tor y.
Careful inspection of the Makeļ¬le and di re c tor i e s in cintcode/sysasm will show
that versions also exist that use Microsoft C++ 5.0 and Borland C4.0, but these are
likely to be out of date and their use is not recommended.