1-*- text -*-
2
3The slang library is available for OS/2, MSDOS, and WIN32 (windows
49x/NT) systems.  This _includes_ the various GNU environments such as
5DJGPP, and MINGW32/64.  For CYGWIN, follow the UNIX instructions.
6
7Each of the src, modules, and slsh directories contains a mkfiles
8subdirectory that can be used to create Makefiles for non-CYGWIN
9builds.  The simplest approach to building the distribution is to
10invoke the build scripts located in the top-level mkfiles directory.
11
12For example, from a CMD window, a mingw32 version may be built and
13installed using a simple 3-step process:
14
15   1.    C:\path\to\slang> mkfiles\m32init.bat
16   2.    C:\path\to\slang> mingw32-make
17   3.    C:\path\to\slang> mingw32-make install
18
19The first step will generate makefiles for mingw32/mingw64.  Note that
20mingw32-make is used for both 32 and 64 bit builds.  In particular,
21this step will create a top-level makefile that contains the locations
22where the library and its components will get installed. Before, going
23on to step 2, it is a good idea to look at the makefile and edit it if
24necessary.
25
26The second step will build the library, slsh, and the modules.  If
27something goes wrong here, fix it before going to step 3.
28
29The final step installs the library and its components.  The actual
30work is carried out by slsh, which was created in step 2.  Please
31note, if you make an changes the installation paths in the makefile
32after completing step 2, then you will need to rebuild it.  That is,
33run `mingw32-make clean', then go to step 2.
34
35Finally you will need to make sure that the $PREFIX/bin directory is
36in your PATH.  Assuming that this has been done, you should be able
37to run `slsh' at the CMD prompt.
38
39More information on the makefile generation process is available
40in src/mkfiles/README.
41