aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2015-02-16 15:42:16 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2015-02-16 15:42:16 +0000
commitea0184bbeb711c5d538b2ff3420e2b67c958dafe (patch)
treef0c34cda1aac91c6f79d16c874e798d1a3992429
parentefd9dd0c44f7df279bd9478eb19c759f21731402 (diff)
downloadmbedtls-ea0184bbeb711c5d538b2ff3420e2b67c958dafe.zip
mbedtls-ea0184bbeb711c5d538b2ff3420e2b67c958dafe.tar.gz
mbedtls-ea0184bbeb711c5d538b2ff3420e2b67c958dafe.tar.bz2
Document changes to make for windows
-rw-r--r--ChangeLog2
-rw-r--r--README.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 82f2310..790126c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@ Features
the platform layer.
* Add an option to use macros instead of function pointers in the platform
layer (helps get rid of unwanted references).
+ * Improved Makefiles for Windows targets by fixing library targets and making
+ cross-compilation easier (thanks to Alon Bar-Lev).
Bugfix
* Fix hardclock() (only used in the benchmarking program) with some
diff --git a/README.rst b/README.rst
index 004f094..14f725d 100644
--- a/README.rst
+++ b/README.rst
@@ -35,6 +35,8 @@ In order to run the tests, enter::
make check
+In order to build for a Windows platform, you should use WINDOWS_BUILD=1 if the target is Windows but the build environment is Unix-like (eg when cross-compiling, or compiling from an MSYS shell), and WINDOWS=1 if the build environment is a Windows shell.
+
Depending on your platform, you might run into some issues. Please check the Makefiles in *library/*, *programs/* and *tests/* for options to manually add or remove for specific platforms. You can also check `the mbed TLS Knowledge Base <https://polarssl.org/kb>`_ for articles on your platform or issue.
In case you find that you need to do something else as well, please let us know what, so we can add it to the KB.