diff options
author | Frank Warmerdam <warmerdam@pobox.com> | 1999-11-29 01:31:45 +0000 |
---|---|---|
committer | Frank Warmerdam <warmerdam@pobox.com> | 1999-11-29 01:31:45 +0000 |
commit | 91eb1e2db66a304a413f232b7498ee0ba0e9bc69 (patch) | |
tree | 7f7ffca1b80d60583c8892b702c78730124b4f86 /html/build.html | |
parent | 9ec07df122a6a29a5f9168d3b6ff251c8781bc82 (diff) | |
download | libtiff-git-91eb1e2db66a304a413f232b7498ee0ba0e9bc69.tar.gz |
Added a few notes for building on Windows.
Diffstat (limited to 'html/build.html')
-rw-r--r-- | html/build.html | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/html/build.html b/html/build.html index 2bd0f09e..57410385 100644 --- a/html/build.html +++ b/html/build.html @@ -642,16 +642,32 @@ by default <TT>bin</TT> is used.</TD> </TABLE> -<A NAME=PC><P><HR><H2>Building the Software under MS/DOS or Windows</H2></A> +<A NAME=PC><P><HR><H2>Building the Software under Windows 95/98/NT/2000 with MS VC++</H2></A> -<I> -There is a Makefile for Microsoft C. -There is OS support for MS-DOS and for Windows. -Someone needs to fill this in, but no DOS-weenies seem to -give a damn so this section is blank for now .... -</I> +With Microsoft Visual C++ installed, and properly configured for commandline +use (you will likely need to source VCVARS32.BAT in AUTOEXEC.bAT or somewhere +similar) you should be able to use the provided <tt>makefile.vc</tt>.<p> +<pre> +C:\LIBTIFF\LIBTIFF> nmake /f makefile.vc +C:\LIBTIFF\LIBTIFF> cd ..\tools +C:\LIBTIFF\TOOLS> nmake /f makefile.vc +</pre> +This will build the library file <tt>LIBTIFF\LIBTIFF\LIBTIFF.LIB</tt>. This +can be used in Win32 programs. If used in a project using the /MD compiler +switch (using the runtime C library), it may be necessary to modify the +CFLAGS macro in makefile.vc to correspond.<p> + +The makefile also builds a DLL (libtiff.dll) with an associated import +library (libtiff_i.lib). Any builds using libtiff will need to include +the LIBTIFF\LIBTIFF directory in the include path.<p> + +The <tt>libtiff\tools\makefile.vc</tt> should build .exe's for all the +standard TIFF tool programs.<p> + +NOTE: The contents of the contrib/win32 directory should no longer be +needed, and are kept in the distribution temporarily.<p> <A NAME=DJGPP><P><HR><H2>Building the Software under MS/DOS with the DJGPP v2 compiler</H2></A> @@ -1145,7 +1161,7 @@ libtiff/mkversion.c program to generate libtiff/version.h. <P> <HR> -Last updated: $Date: 1999-08-16 16:47:11 $ +Last updated: $Date: 1999-11-29 01:31:45 $ </BODY> </HTML> |