summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-06-04 19:29:51 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-06-04 19:29:51 +0300
commit9724a0538b82109992bfe9322008eab7f62064b7 (patch)
treeaf4c962ca69a10c446648d883bdf0026cc6e1a77
parent87ad80edf9e7656143079df8565c0fb0de39ef18 (diff)
windows/README: Add notes on running under Wine.
After enabling line editing support on Windows console, this is no longer trivial.
-rw-r--r--windows/README16
1 files changed, 16 insertions, 0 deletions
diff --git a/windows/README b/windows/README
index 88ee5ffce..2f1f20b9c 100644
--- a/windows/README
+++ b/windows/README
@@ -24,3 +24,19 @@ Open micropython.vcxproj and build
To compile using Visual Studio 2013 commandline:
msbuild micropython.vcxproj
+
+
+To run on Linux using Wine:
+
+Default build (MICROPY_USE_READLINE=1) uses extended Windows console
+functions and thus should be run using "wineconsole" tool. Depending
+on Wine build configuration, you may also want to select curses backend
+which has look&feel of a standard Unix console:
+
+ wineconsole --backend=curses ./micropython.exe
+
+For more info, see https://www.winehq.org/docs/wineusr-guide/cui-programs
+
+If built without line editing and history capabilities
+(MICROPY_USE_READLINE=0), the resulting binary can be built using standard
+"wine" tool.