X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=windows%2FREADME;h=8d63bc741f7d90ab4cbd2dfcef5652726cc1b1ff;hp=13f45fc46f1531782c3fee7ec5166c7d0bdf90b1;hb=edc9055768fed952b30629a9e8fa38ef68761882;hpb=2bebfdb844a9aa11b6db3e7d9ca93f8a4e6ca077 diff --git a/windows/README b/windows/README index 13f45fc4..8d63bc74 100644 --- a/windows/README +++ b/windows/README @@ -6,12 +6,20 @@ list of possible options. Run it with the option corresponding to the compiler you intend to use to build Wget and follow the (brief) instructions printed on the screen. The instructions bellow are for building Wget with Microsoft Visual C++ (MSVC); you may need to make -appropriate substitutions for your compiler and build environment. +appropriate substitutions for your compiler and build environment; +currently wget can be built at least with Visual Studio/.Net, the free +Borland compiler, and the free mingw environment. The instructions do +*not* apply to the Cygwin environment, on which Wget is built with the +procedure described in the INSTALL file in the top-level directory. To build Wget with MSVC run configure.bat (in the main Wget directory) with the argument --msvc, and then run nmake. At a certain point in time -Wget exposed some compiler bugs in MSVC 5.0; MSVC 6.0 SP5 is known to be -safe. However, read the rest of this document before continuing. +Wget exposed some compiler bugs in MSVC 5.0; later Wget started to +expose (at least http.c, retr.c) some other compiler bugs in MSVC 6.0 +SP6 (cl.exe version 12) which could/can be worked around by compiling +completely without optimization or at least partially (by using +#pragma optimize("g",on) and "off" around offending functions). +However, read the rest of this document before continuing. For MSVC the current default is to build Wget with SSL support. For this to work, you will need to have OpenSSL installed. First, get OpenSSL @@ -24,7 +32,8 @@ and from out32dll (in the OpenSSL directory) the two needed libraries (libeay32.lib and ssleay32.lib) to "C:\Program Files\Microsoft Visual Studio\VC98\lib". These locations aren't exactly the best but will get you started if you don't know where -to place these headers and libraries. Usually at run-time some OpenSSL +to place these headers and libraries, you should find similar paths for +later compiler versions. Usually at run-time some OpenSSL libraries (currently ssleay32.dll and libeay32.dll) will need to be available in your environment PATH. @@ -47,7 +56,7 @@ Windows contributors: port; * Tim Charron -- additional cleanup and - contribution of the Watcom makefile; + contribution of the (now retired) Watcom makefile; * John Burden -- cleanup of the VC++ makefile to get a clean build with VC++ 5.0 on Windows 95;