diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-04-05 01:01:58 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-04-05 01:01:58 +0000 |
commit | 517295ea0928dfd2bd30d997949c472f68d22e06 (patch) | |
tree | f733543fd9fc1792185583f8b7289cf2ed1bbb16 /INSTALL | |
parent | d625e19cdc79ec54d882aad95d05d7f24577bb6b (diff) |
Implemented install
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 38 |
1 files changed, 36 insertions, 2 deletions
@@ -1,10 +1,44 @@ This library is geared towards being compiled with MINGW, using MSYS and GNU Make. -Feel free to try it with other environments, but YMMV. +It builds OK, but has only been basically tested under Cygwin. There is +certainly no reason why it shouldn't work properly under Cygwin though. +To build: +1. 'cd src'. +2. Edit GNUmakefile and edit the following variables as required: + + INSTALLDIR This is the directory in which the headers and + library will be installed as $INSTALLDIR/include + and $INSTALLDIR/lib. The default is /usr/local, but + if you're going to use it ouside MSYS/Cygwin set a + DOS path, but use *forward* slashes. + + CREATECONF If set to 1 then this creates a w32dlib-config + shell script. This is always installed into + /usr/local/bin (as you have a proper shell, I + assume your using either MSYS or Cygwin). If not + edit install.sh accordingly. + + DEBUG Uncomment this line if you want a debug (-g) build + that also sends some rudementary output to the + Windows API OutputDebugString(). + +3. Type 'make'. + +4. If OK, 'cd test' and 'make' again. Run w32dtest.exe and make sure it + looks like it's not going to fall over in a heap. + +5. If all OK, 'cd ..' and 'make install'. + +6. For documentation, 'cd src' and then 'make doc'. The documentation + will be in ./doc/html -- use index.html to start. Copy these whereever + you want. + +7. Alternatively look at ./src/test/w32dtest.cpp for example code on using + w32dlib. ---------------------------------------------------------------------- -$Id: INSTALL,v 1.1 2005-03-22 01:43:54 ianc Exp $ +$Id: INSTALL,v 1.2 2005-04-05 01:01:58 ianc Exp $ |