diff options
author | Christian Andersen <csandersen3@gmail.com> | 2024-04-09 22:14:04 +0200 |
---|---|---|
committer | Christian Andersen <csandersen3@gmail.com> | 2024-05-25 12:43:01 +0200 |
commit | 937a3d920ead4c5a8bff162bbc719f39208988ee (patch) | |
tree | ef4f717b14198ba32d6b4ac702be186f2fdd933c /README.mingw.md | |
parent | ad6e77ca9fe3da77a23b6b89e9678c92663c9cc8 (diff) | |
download | portable-937a3d920ead4c5a8bff162bbc719f39208988ee.tar.gz portable-937a3d920ead4c5a8bff162bbc719f39208988ee.tar.bz2 portable-937a3d920ead4c5a8bff162bbc719f39208988ee.zip |
Try to simplify build instruction.
In particular simplify the Windows build instructions,
by only having a short CMake section about it. While
mentioning that bash shell is required also on Windows
up-front.
Splits the build section into a section for configure
and one for CMake so it is easier to pick one of them.
Moves the additional CMake options into the CMake section.
Moves dist.sh text into the configure section as it is
configure specific.
Diffstat (limited to 'README.mingw.md')
-rw-r--r-- | README.mingw.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/README.mingw.md b/README.mingw.md index 7c567bc..a90de5f 100644 --- a/README.mingw.md +++ b/README.mingw.md | |||
@@ -1,13 +1,13 @@ | |||
1 | ## Building with mingw-w64 for 32- and 64-bit | 1 | ## Building with MinGW-w64 for 32- and 64-bit |
2 | 2 | ||
3 | For Windows systems, LibreSSL supports the mingw-w64 toolchain, which can use | 3 | For Windows systems, LibreSSL supports the MinGW-w64 toolchain, which can use |
4 | GCC or Clang as the compiler. Contrary to its name, mingw-w64 supports both | 4 | GCC or Clang as the compiler. Contrary to its name, MinGW-w64 supports both |
5 | 32-bit and 64-bit build environments. If your project already uses mingw-w64, | 5 | 32-bit and 64-bit build environments. If your project already uses MinGW-w64, |
6 | then LibreSSL should integrate very nicely. Old versions of the mingw-w64 | 6 | then LibreSSL should integrate very nicely. Old versions of the MinGW-w64 |
7 | toolchain, such as the one packaged with Ubuntu 12.04, may have trouble | 7 | toolchain, such as the one packaged with Ubuntu 12.04, may have trouble |
8 | building LibreSSL. Please try it with a recent toolchain if you encounter | 8 | building LibreSSL. Please try it with a recent toolchain if you encounter |
9 | troubles. Cygwin provides an easy method of installing the latest mingw-w64 | 9 | troubles. Cygwin provides an easy method of installing the latest MinGW-w64 |
10 | cross compilers on Windows. | 10 | cross-compilers on Windows. |
11 | 11 | ||
12 | To configure and build LibreSSL for a 32-bit system, use the following | 12 | To configure and build LibreSSL for a 32-bit system, use the following |
13 | build steps: | 13 | build steps: |
@@ -36,7 +36,7 @@ expiry date is set past 19 January 2038, it will be unable to tell if the | |||
36 | certificate has expired or not, and thus take the safe stance and reject it. | 36 | certificate has expired or not, and thus take the safe stance and reject it. |
37 | 37 | ||
38 | In order to avoid this, you need to build LibreSSL (and everything that links | 38 | In order to avoid this, you need to build LibreSSL (and everything that links |
39 | with it) with the -D__MINGW_USE_VC2005_COMPAT flag. This tells mingw-w64 to | 39 | with it) with the -D__MINGW_USE_VC2005_COMPAT flag. This tells MinGW-w64 to |
40 | use the new ABI. | 40 | use the new ABI. |
41 | 41 | ||
42 | 64-bit systems always have a 64-bit time_t and are not affected by this | 42 | 64-bit systems always have a 64-bit time_t and are not affected by this |