From 662a04781504c95f77e76e0026247806ac410cfc Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 17 May 2017 20:46:22 +0200 Subject: Enable readline and tcl in mxe builds --- CodingReadme | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'CodingReadme') diff --git a/CodingReadme b/CodingReadme index 9e85add28..5800e30c3 100644 --- a/CodingReadme +++ b/CodingReadme @@ -411,6 +411,32 @@ Updating the website: git commit -am update make push + + +Cross-Building for Windows with MXE +=================================== + +Check http://mxe.cc/#requirements and install all missing requirements. + +As root (or other user with write access to /usr/local/src): + + cd /usr/local/src + git clone https://github.com/mxe/mxe.git + cd mxe + + make -j$(nproc) MXE_PLUGIN_DIRS="plugins/tcl.tk" \ + MXE_TARGETS="i686-w64-mingw32.static" \ + gcc tcl readline + +Then as regular user in some directory where you build stuff: + + git clone https://github.com/cliffordwolf/yosys.git yosys-win32 + cd yosys-win32 + make config-mxe + make -j$(nproc) mxebin + + + How to add unit test ==================== -- cgit v1.2.3