Commit 2c3e557b authored by Guenter Knauf's avatar Guenter Knauf
Browse files

updated MSVC build instructions.

parent 08df4b89
Loading
Loading
Loading
Loading
+32 −25
Original line number Diff line number Diff line
@@ -189,28 +189,33 @@ Win32
      Microsoft command line style
      ----------------------------

        Run the 'vcvars32.bat' file to get a proper environment. The
        vcvars32.bat file is part of the Microsoft development environment and
        you may find it in 'C:\Program Files\Microsoft Visual Studio\vc98\bin'
        provided that you installed Visual C/C++ 6 in the default directory.

        Then run 'nmake vc' in curl's root directory.

        If you want to compile with zlib support, you will need to build
        zlib (http://www.gzip.org/zlib/) as well. Please read the zlib 
        documentation on how to compile zlib. Define the ZLIB_PATH environment 
        variable to the location of zlib.h and zlib.lib, for example:

          set ZLIB_PATH=c:\zlib-1.2.1

        Then run 'nmake vc-zlib' in curl's root directory.

        If you want to compile with SSL support you need the OpenSSL package.
        Please read the OpenSSL documentation on how to compile and install
        the OpenSSL libraries.  The build process of OpenSSL generates the
        libeay32.dll and ssleay32.dll files in the out32dll subdirectory in
        the OpenSSL home directory.  OpenSSL static libraries (libeay32.lib,
        ssleay32.lib, RSAglue.lib) are created in the out32 subdirectory.

        Run the 'vcvars32.bat' file to get a proper environment. The
        vcvars32.bat file is part of the Microsoft development environment and
        you may find it in 'C:\Program Files\Microsoft Visual Studio\vc98\bin'
        provided that you installed Visual C/C++ 6 in the default directory.

        Before running nmake define the OPENSSL_PATH environment variable with
        the root/base directory of OpenSSL, for example:

          set OPENSSL_PATH=c:\openssl-0.9.7a

        lib/Makefile.vc6 depends on zlib (http://www.gzip.org/zlib/) as well.
        Please read the zlib documentation on how to compile zlib.  Define the
        ZLIB_PATH environment variable to the location of zlib.h and zlib.lib,
        for example:

          set ZLIB_PATH=c:\zlib-1.1.4
          set OPENSSL_PATH=c:\openssl-0.9.7d

        Then run 'nmake vc-ssl' or 'nmake vc-ssl-dll' in curl's root
        directory.  'nmake vc-ssl' will create a libcurl static and dynamic
@@ -223,6 +228,7 @@ Win32
        links curl.exe against libcurl and OpenSSL dynamically.
        This executable requires libcurl.dll and the OpenSSL DLLs
        at runtime. 
        Run 'nmake vc-ssl-zlib' to build with both ssl and zlib support.

      Microsoft / Borland style
      -------------------------
@@ -477,13 +483,14 @@ NetWare

   To compile curl.nlm / libcurl.nlm you need:
   - either any gcc / nlmconv, or CodeWarrior 7 PDK 4 or later.
   - gnu make running on the platform you compile on.
   - recent Novell LibC SDK availabable from:
     http://developer.novell.com/ndk/libc.htm
   - optional zlib sources (at the moment only dynamic linking with zlib.imp); 
     sources with NetWare Makefile can be optained from:
     http://www.gknw.com/mirror/zlib/

   Set a search path to your compiler, linker and tools, if you want to have
   Set a search path to your compiler, linker and tools; if you want to have
   zlib support then set the environment var ZLIB_PATH pointing to your zlib
   sources, on Linux make sure the var OSTYPE contains the string 'linux';
   and finally type 'make netware' from the top source directory...