xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | Gisle Vanem made curl build fine on DOS (and MinGW) with djgpp, OpenSSL and his |
| 2 | Watt-32 stack. |
| 3 | |
| 4 | 'make -f Makefile.dist djgpp' in the root curl dir should build it fine. |
| 5 | Or enter 'lib' and do a 'make -f Makefile.dj clean all' to first delete |
| 6 | 'lib/curl_config.h' which is possibly from a previous incompatible Windows-build. |
| 7 | |
| 8 | Note 1: djgpp 2.04 beta has a sscanf() bug so the URL parsing isn't |
| 9 | done properly. Use djgpp 2.03 until they fix it. |
| 10 | |
| 11 | Note 2: Compile Watt-32 (and OpenSSL) with the same version of djgpp. |
| 12 | Otherwise things go wrong because things like FS-extensions and |
| 13 | errnos have been changed between releases. |
| 14 | |
| 15 | Note 3: Several 'USE_x' variables in 'common.dj' are on the 'USE_x ?= 0' |
| 16 | form (conditional variable assignment). So one can build like this: |
| 17 | c:\curl\lib> make -f makefile.dj USE_OPENSSL=1 USE_ZLIB=1 clean all |