aboutsummaryrefslogtreecommitdiff
path: root/README.mingw.md
diff options
context:
space:
mode:
authorChristian Andersen <csandersen3@gmail.com>2024-04-09 22:14:04 +0200
committerChristian Andersen <csandersen3@gmail.com>2024-05-25 12:43:01 +0200
commit937a3d920ead4c5a8bff162bbc719f39208988ee (patch)
treeef4f717b14198ba32d6b4ac702be186f2fdd933c /README.mingw.md
parentad6e77ca9fe3da77a23b6b89e9678c92663c9cc8 (diff)
downloadportable-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.md16
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
3For Windows systems, LibreSSL supports the mingw-w64 toolchain, which can use 3For Windows systems, LibreSSL supports the MinGW-w64 toolchain, which can use
4GCC or Clang as the compiler. Contrary to its name, mingw-w64 supports both 4GCC or Clang as the compiler. Contrary to its name, MinGW-w64 supports both
532-bit and 64-bit build environments. If your project already uses mingw-w64, 532-bit and 64-bit build environments. If your project already uses MinGW-w64,
6then LibreSSL should integrate very nicely. Old versions of the mingw-w64 6then LibreSSL should integrate very nicely. Old versions of the MinGW-w64
7toolchain, such as the one packaged with Ubuntu 12.04, may have trouble 7toolchain, such as the one packaged with Ubuntu 12.04, may have trouble
8building LibreSSL. Please try it with a recent toolchain if you encounter 8building LibreSSL. Please try it with a recent toolchain if you encounter
9troubles. Cygwin provides an easy method of installing the latest mingw-w64 9troubles. Cygwin provides an easy method of installing the latest MinGW-w64
10cross compilers on Windows. 10cross-compilers on Windows.
11 11
12To configure and build LibreSSL for a 32-bit system, use the following 12To configure and build LibreSSL for a 32-bit system, use the following
13build steps: 13build steps:
@@ -36,7 +36,7 @@ expiry date is set past 19 January 2038, it will be unable to tell if the
36certificate has expired or not, and thus take the safe stance and reject it. 36certificate has expired or not, and thus take the safe stance and reject it.
37 37
38In order to avoid this, you need to build LibreSSL (and everything that links 38In order to avoid this, you need to build LibreSSL (and everything that links
39with it) with the -D__MINGW_USE_VC2005_COMPAT flag. This tells mingw-w64 to 39with it) with the -D__MINGW_USE_VC2005_COMPAT flag. This tells MinGW-w64 to
40use the new ABI. 40use the new ABI.
41 41
4264-bit systems always have a 64-bit time_t and are not affected by this 4264-bit systems always have a 64-bit time_t and are not affected by this