|
34 | 34 | get it all to work. See the trouble shooting section later on for if (when?) |
35 | 35 | it goes wrong. |
36 | 36 |
|
| 37 | + CAVEAT LECTOR |
| 38 | + ------------- |
| 39 | + |
| 40 | + ### Default install and config paths |
| 41 | + |
| 42 | + ./Configure defaults to '/usr/local/ssl' as installation top. This is |
| 43 | + suitable for Unix, but not for Windows, where this usually is a world |
| 44 | + writable directory and therefore accessible for change by untrusted users. |
| 45 | + It is therefore recommended to set your own --prefix or --openssldir to |
| 46 | + some location that is not world writeable (see the example above) |
| 47 | + |
37 | 48 | Visual C++ |
38 | 49 | ---------- |
39 | 50 |
|
|
104 | 115 | --------------------- |
105 | 116 |
|
106 | 117 | * Configure for building with Borland Builder: |
107 | | - > perl Configure BC-32 |
| 118 | + > perl Configure BC-32 --prefix=c:\some\openssl\dir |
108 | 119 |
|
109 | 120 | * Create the appropriate makefile |
110 | 121 | > ms\do_nasm |
|
196 | 207 |
|
197 | 208 | * Compile OpenSSL: |
198 | 209 |
|
199 | | - $ ./config |
| 210 | + $ ./config --prefix=c:/some/openssl/dir |
200 | 211 | [...] |
201 | 212 | $ make |
202 | 213 | [...] |
|
206 | 217 | and openssl.exe application in apps directory. |
207 | 218 |
|
208 | 219 | It is also possible to cross-compile it on Linux by configuring |
209 | | - with './Configure --cross-compile-prefix=i386-mingw32- mingw ...'. |
| 220 | + like this: |
| 221 | + |
| 222 | + $ ./Configure --cross-compile-prefix=i386-mingw32- \ |
| 223 | + --prefix=c:/some/openssl/dir mingw ... |
| 224 | + |
210 | 225 | 'make test' is naturally not applicable then. |
211 | 226 |
|
212 | 227 | libcrypto.a and libssl.a are the static libraries. To use the DLLs, |
|
240 | 255 | $ copy /b out32dll\libeay32.dll c:\openssl\bin |
241 | 256 | $ copy /b out32dll\openssl.exe c:\openssl\bin |
242 | 257 |
|
| 258 | + ("c:\openssl" should be whatever you specified to --prefix when |
| 259 | + configuring the build) |
| 260 | + |
243 | 261 | Of course, you can choose another device than c:. C: is used here |
244 | 262 | because that's usually the first (and often only) harddisk device. |
245 | 263 | Note: in the modssl INSTALL.Win32, p: is used rather than c:. |
|
0 commit comments