


Running the alscript suite under Microsoft Windows - NT/2000/XP/7

This must be done in the cygwin environment - first install cygwin from 
www.cygwin.com - make sure you include the C development tools.

Then at the cygwin command prompt go to the directory (folder) in which
you have installed alscript and type:

./BUILD linux

If this fails with a message like "/bin/csh does not exist" then change
directory to the folder called "src" and do the following:

make -f makefile.linux

you should see some messages like this:

gcc -O2 -I./ -I../gjutil/ -c alscript.c
gcc -O2 -I./ -I../gjutil/ -c alps.c
gcc -O2 -I./ -I../gjutil/ -c agetbloc.c
gcc -O2 -I./ -I../gjutil/ alscript.o alps.o ../gjutil/gjutil.o agetbloc.o ckdd.o  -o alscript
gcc -O2 -I./ -I../gjutil/ -c msf2blc.c
gcc -O2 -I./ -I../gjutil/ msf2blc.o ../gjutil/gjutil.o   -o msf2blc
gcc -O2 -I./ -I../gjutil/ -c clus2blc.c
gcc -O2 -I./ -I../gjutil/ clus2blc.o ../gjutil/gjutil.o   -o clus2blc
gcc -O2 -I./ -I../gjutil/ -c alsnum.c
gcc -O2 -I./ -I../gjutil/ alsnum.o ../gjutil/gjutil.o agetbloc.o  -o alsnum
gcc -O2 -I./ -I../gjutil/ -c fast2blc.c
gcc -O2 -I./ -I../gjutil/ fast2blc.o ../gjutil/gjutil.o  -o fast2blc


then type:

cp alscript ../bin
cp msf2blc ../bin
cp clus2blc ../bin
cp alsnum ../bin
cp fast2blc ../bin

You should then have all the alscript executables in the 
directory "bin".

To test alscript, move to the examples directory and try
running the program with the file example1.als.
e.g. 

../bin/alscript -f example1.als

Geoff Barton - July 2011.
--------------