Loading docs/INSTALL +104 −125 Original line number Diff line number Diff line Loading @@ -132,64 +132,33 @@ UNIX Win32 ===== Without SSL: MingW32 ------- MingW32 (GCC-2.95) style ------------------------ Run the 'mingw32.bat' file to get the proper environment variables set, then run 'make mingw32' in the root dir. Run the 'mingw32.bat' file to get the proper environment variables set, then run 'make mingw32' in the root dir. Use 'make mingw32-ssl' to build curl SSL enabled. If you have any problems linking libraries or finding header files, be sure to verify that the provided "Makefile.m32" files use the proper paths, and adjust as necessary. If you have any problems linking libraries or finding header files, be sure to verify that the provided "Makefile.m32" files use the proper paths, and adjust as necessary. Cygwin style ------------ Almost identical to the unix installation. Run the configure script in the curl root with 'sh configure'. Make sure you have the sh executable in /bin/ or you'll see the configure fail towards the end. Run 'make' Microsoft command line style ---------------------------- Run the 'vcvars32.bat' file to get the proper environment variables set, then run 'nmake vc' in the root dir. The vcvars32.bat file is part of the Microsoft development environment. IDE-style ------------------------- If you use VC++, Borland or similar compilers. Include all lib source files in a static lib "project" (all .c and .h files that is). (you should name it libcurl or similar) Make the sources in the src/ drawer be a "win32 console application" project. Name it curl. For VC++ 6, there's an included Makefile.vc6 that should be possible to use out-of-the-box. Cygwin ------ Almost identical to the unix installation. Run the configure script in the curl root with 'sh configure'. Make sure you have the sh executable in /bin/ or you'll see the configure fail towards the end. With SSL: MingW32 (GCC-2.95) style ------------------------ Run the 'mingw32.bat' file to get the proper environment variables set, then run 'make mingw32-ssl' in the root dir. Run 'make' If you have any problems linking libraries or finding header files, be sure to look at the provided "Makefile.m32" files for the proper paths, and adjust as necessary. Dev-Cpp ------- Cygwin style ------------ Haven't done, nor got any reports on how to do. It should although be identical to the unix setup for the same purpose. See above. See the separate INSTALL.devcpp file for details. Microsoft command line style ---------------------------- MSVC from command line ---------------------- Run the 'vcvars32.bat' file to get a proper environment. The vcvars32.bat file is part of the Microsoft development environment and Loading Loading @@ -232,22 +201,14 @@ Win32 at runtime. Run 'nmake vc-ssl-zlib' to build with both ssl and zlib support. Microsoft / Borland style ------------------------- If you have OpenSSL, and want curl to take advantage of it, edit your project properties to use the SSL include path, link with the SSL libs and define the USE_SSLEAY symbol. Using Borland C++ compiler version 5.5.1 (available as free download from Borland's site) --------------------------------------------------------------------- Borland C++ compiler --------------------- compile openssl Make sure you include the paths to curl/include and openssl/inc32 in your bcc32.cnf file eg : -I"c:\Bcc55\include;c:\path_curl\include;c:\path_openssl\inc32" Check to make sure that all of the sources listed in lib/Makefile.b32 Loading @@ -268,7 +229,23 @@ Win32 -L c:\openssl\out32\ssleay32.lib simplessl.c Disabling Specific Protocols: MSVC IDE -------- If you use VC++, Borland or similar compilers. Include all lib source files in a static lib "project" (all .c and .h files that is). (you should name it libcurl or similar) Make the sources in the src/ drawer be a "win32 console application" project. Name it curl. For VC++ 6, there's an included Makefile.vc6 that should be possible to use out-of-the-box. Disabling Specific Protocols in Win32 builds -------------------------------------------- The configure utility, unfortunately, is not available for the Windows environment, therefore, you cannot use the various disable-protocol Loading @@ -294,10 +271,12 @@ Win32 in the curllib.dsw/curllib.dsp Visual C++ 6 IDE project. Important (with SSL or not): When building an application that uses the static libcurl library, you must add '-DCURL_STATICLIB' to your CFLAGS. Otherwise the linker will look for dynamic import symbols. Important static libcurl usage note ----------------------------------- When building an application that uses the static libcurl library, you must add '-DCURL_STATICLIB' to your CFLAGS. Otherwise the linker will look for dynamic import symbols. IBM OS/2 Loading Loading
docs/INSTALL +104 −125 Original line number Diff line number Diff line Loading @@ -132,64 +132,33 @@ UNIX Win32 ===== Without SSL: MingW32 ------- MingW32 (GCC-2.95) style ------------------------ Run the 'mingw32.bat' file to get the proper environment variables set, then run 'make mingw32' in the root dir. Run the 'mingw32.bat' file to get the proper environment variables set, then run 'make mingw32' in the root dir. Use 'make mingw32-ssl' to build curl SSL enabled. If you have any problems linking libraries or finding header files, be sure to verify that the provided "Makefile.m32" files use the proper paths, and adjust as necessary. If you have any problems linking libraries or finding header files, be sure to verify that the provided "Makefile.m32" files use the proper paths, and adjust as necessary. Cygwin style ------------ Almost identical to the unix installation. Run the configure script in the curl root with 'sh configure'. Make sure you have the sh executable in /bin/ or you'll see the configure fail towards the end. Run 'make' Microsoft command line style ---------------------------- Run the 'vcvars32.bat' file to get the proper environment variables set, then run 'nmake vc' in the root dir. The vcvars32.bat file is part of the Microsoft development environment. IDE-style ------------------------- If you use VC++, Borland or similar compilers. Include all lib source files in a static lib "project" (all .c and .h files that is). (you should name it libcurl or similar) Make the sources in the src/ drawer be a "win32 console application" project. Name it curl. For VC++ 6, there's an included Makefile.vc6 that should be possible to use out-of-the-box. Cygwin ------ Almost identical to the unix installation. Run the configure script in the curl root with 'sh configure'. Make sure you have the sh executable in /bin/ or you'll see the configure fail towards the end. With SSL: MingW32 (GCC-2.95) style ------------------------ Run the 'mingw32.bat' file to get the proper environment variables set, then run 'make mingw32-ssl' in the root dir. Run 'make' If you have any problems linking libraries or finding header files, be sure to look at the provided "Makefile.m32" files for the proper paths, and adjust as necessary. Dev-Cpp ------- Cygwin style ------------ Haven't done, nor got any reports on how to do. It should although be identical to the unix setup for the same purpose. See above. See the separate INSTALL.devcpp file for details. Microsoft command line style ---------------------------- MSVC from command line ---------------------- Run the 'vcvars32.bat' file to get a proper environment. The vcvars32.bat file is part of the Microsoft development environment and Loading Loading @@ -232,22 +201,14 @@ Win32 at runtime. Run 'nmake vc-ssl-zlib' to build with both ssl and zlib support. Microsoft / Borland style ------------------------- If you have OpenSSL, and want curl to take advantage of it, edit your project properties to use the SSL include path, link with the SSL libs and define the USE_SSLEAY symbol. Using Borland C++ compiler version 5.5.1 (available as free download from Borland's site) --------------------------------------------------------------------- Borland C++ compiler --------------------- compile openssl Make sure you include the paths to curl/include and openssl/inc32 in your bcc32.cnf file eg : -I"c:\Bcc55\include;c:\path_curl\include;c:\path_openssl\inc32" Check to make sure that all of the sources listed in lib/Makefile.b32 Loading @@ -268,7 +229,23 @@ Win32 -L c:\openssl\out32\ssleay32.lib simplessl.c Disabling Specific Protocols: MSVC IDE -------- If you use VC++, Borland or similar compilers. Include all lib source files in a static lib "project" (all .c and .h files that is). (you should name it libcurl or similar) Make the sources in the src/ drawer be a "win32 console application" project. Name it curl. For VC++ 6, there's an included Makefile.vc6 that should be possible to use out-of-the-box. Disabling Specific Protocols in Win32 builds -------------------------------------------- The configure utility, unfortunately, is not available for the Windows environment, therefore, you cannot use the various disable-protocol Loading @@ -294,10 +271,12 @@ Win32 in the curllib.dsw/curllib.dsp Visual C++ 6 IDE project. Important (with SSL or not): When building an application that uses the static libcurl library, you must add '-DCURL_STATICLIB' to your CFLAGS. Otherwise the linker will look for dynamic import symbols. Important static libcurl usage note ----------------------------------- When building an application that uses the static libcurl library, you must add '-DCURL_STATICLIB' to your CFLAGS. Otherwise the linker will look for dynamic import symbols. IBM OS/2 Loading