aboutsummaryrefslogtreecommitdiff
path: root/README.windows
diff options
context:
space:
mode:
authorChristian Andersen <csandersen3@gmail.com>2024-04-09 21:39:21 +0200
committerChristian Andersen <csandersen3@gmail.com>2024-05-25 12:43:00 +0200
commitac75aab32321a1c4f469018d9b3596fd89f5bf14 (patch)
tree4c6f11e23cd9d7aa80a8086f14365197e9f869a2 /README.windows
parentf785e2954a847ebaa8559b65c2b5030489ce5556 (diff)
downloadportable-ac75aab32321a1c4f469018d9b3596fd89f5bf14.tar.gz
portable-ac75aab32321a1c4f469018d9b3596fd89f5bf14.tar.bz2
portable-ac75aab32321a1c4f469018d9b3596fd89f5bf14.zip
Remove the dist-win compilation script
With the CMake version of building for windows there is support for building with MINGW, clang, and Visual Studio. CMake can build for MINGW using the regular method of autogen and CMake. Removing this makes it a bit simpler to get an overview of how to build for windows. Reducing confusion.
Diffstat (limited to 'README.windows')
-rw-r--r--README.windows22
1 files changed, 0 insertions, 22 deletions
diff --git a/README.windows b/README.windows
index 4d74a2e..2d342fa 100644
--- a/README.windows
+++ b/README.windows
@@ -41,25 +41,3 @@ use 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
43problem. 43problem.
44
45# Using Libressl with Visual Studio
46
47A script for generating ready-to-use .DLL and static .LIB files is included in
48the source repository at
49https://github.com/libressl/portable/blob/master/dist-win.sh
50
51This script uses mingw-w64 to build LibreSSL and then uses Visual Studio tools
52to generate compatible library import files ready-to-use with Visual
53Studio projects. Static and dynamic libraries are included. The script uses
54cv2pdb to generate Visual Studio and windbg compatible debug files. cv2pdb is a
55tool developed for the D language and can be found here:
56https://github.com/rainers/cv2pdb
57
58The mingw-w64 code is largely, but not 100%, compatible with code built from
59Visual Studio. Notably, FILE * pointers cannot be shared between code built for
60Mingw-w64 and Visual Studio.
61
62As of LibreSSL 2.2.2, Visual Studio Native builds can also be produced using
63CMake. This produces ABI-compatible libraries for linking with native code
64generated by Visual Studio. Currently tested versions are VS 2019 and 2022,
65though earlier versions may work as well.