Instructions on building SWIG for Windows 95/NT

March 12, 1997

This assumes that you are using MS Visual C++ 4.x.   

1.  Take a look at the file 'make_win.in'.   You will need to change values
    as appropriate and decide where you want SWIG to be installed.

2.  Type 'make' to build SWIG.

3.  Type 'make install' to install SWIG and the SWIG library.
    The SWIG installation consists of two basic parts :

           swig.exe          -  The SWIG executable.  You should put
                                this somewhere on your PATH.

           swig_lib          -  The SWIG library.   This contains code
                                that is used by SWIG during its code
                                generation.

    By default, SWIG will install itself as follows :

           c:\swig1.1\swig.exe
           c:\swig1.1\swig_lib\

    To uninstall SWIG, simply delete the swig1.1 directory.

    Note : The location of the SWIG library is hard-wired into SWIG when you
    compile.   If you move the library to a new location, you should recompile
    or set the SWIG_LIB environment variable to point to its new location.

4.  To clean up, type 'make clean'.

