From ea0184bbeb711c5d538b2ff3420e2b67c958dafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 16 Feb 2015 15:42:16 +0000 Subject: [PATCH] Document changes to make for windows --- ChangeLog | 2 ++ README.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 82f2310c8..790126c24 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 004f09441..14f725d28 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 `_ 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.