aboutsummaryrefslogtreecommitdiffstats
path: root/CodingReadme
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-05-17 20:46:22 +0200
committerClifford Wolf <clifford@clifford.at>2017-05-17 20:46:22 +0200
commit662a04781504c95f77e76e0026247806ac410cfc (patch)
tree3dd965079cf8abf1fb734324e981e06857fba87e /CodingReadme
parent6934b862d31db68b4eb3adf2033f26643012daab (diff)
downloadyosys-662a04781504c95f77e76e0026247806ac410cfc.tar.gz
yosys-662a04781504c95f77e76e0026247806ac410cfc.tar.bz2
yosys-662a04781504c95f77e76e0026247806ac410cfc.zip
Enable readline and tcl in mxe builds
Diffstat (limited to 'CodingReadme')
-rw-r--r--CodingReadme26
1 files changed, 26 insertions, 0 deletions
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
====================