aboutsummaryrefslogtreecommitdiff
path: root/docs/INSTALL
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-11 13:49:52 +0000
committerGunter Knauf <gk@gknw.de>2004-07-11 13:49:52 +0000
commit2c3e557b5ccc745cec20be687c300077b1e04338 (patch)
treea85afa10178ec6c1aaa2d31be7379222a6dd43fe /docs/INSTALL
parent08df4b897194d068467404b0ebe87ebb4e26f9bd (diff)
updated MSVC build instructions.
Diffstat (limited to 'docs/INSTALL')
-rw-r--r--docs/INSTALL57
1 files changed, 32 insertions, 25 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index 0f1cb4106..226ab32bd 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -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
@@ -219,10 +224,11 @@ Win32
version is a standalone executable not requiring any DLL at
runtime. This make method requires that you have the static OpenSSL
libraries available in OpenSSL's out32 subdirectory.
- 'nmake vc-ssl-dll' creates the libcurl dynamic library and
- links curl.exe against libcurl and OpenSSL dynamically.
- This executable requires libcurl.dll and the OpenSSL DLLs
- at runtime.
+ 'nmake vc-ssl-dll' creates the libcurl dynamic library and
+ 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
-------------------------
@@ -361,12 +367,12 @@ VMS
the name can be fetched from external or internal message libraries
Errorcode - the errodes assigned by the application
Sev. - severity: Even = error, off = non error
- 0 = Warning
- 1 = Success
- 2 = Error
- 3 = Information
- 4 = Fatal
- <5-7> reserved.
+ 0 = Warning
+ 1 = Success
+ 2 = Error
+ 3 = Information
+ 4 = Fatal
+ <5-7> reserved.
This all presents itself with:
%<FACILITY>-<SeV>-<Errorname>, <Error message>
@@ -379,7 +385,7 @@ VMS
This was all compiled with:
- Compaq C V6.2-003 on OpenVMS Alpha V7.1-1H2
+ Compaq C V6.2-003 on OpenVMS Alpha V7.1-1H2
So far for porting notes as of:
13-jul-2001
@@ -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...