Skip to content

Commit 9724a05

Browse files
committed
windows/README: Add notes on running under Wine.
After enabling line editing support on Windows console, this is no longer trivial.
1 parent 87ad80e commit 9724a05

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

windows/README

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,19 @@ Open micropython.vcxproj and build
2424
To compile using Visual Studio 2013 commandline:
2525

2626
msbuild micropython.vcxproj
27+
28+
29+
To run on Linux using Wine:
30+
31+
Default build (MICROPY_USE_READLINE=1) uses extended Windows console
32+
functions and thus should be run using "wineconsole" tool. Depending
33+
on Wine build configuration, you may also want to select curses backend
34+
which has look&feel of a standard Unix console:
35+
36+
wineconsole --backend=curses ./micropython.exe
37+
38+
For more info, see https://www.winehq.org/docs/wineusr-guide/cui-programs
39+
40+
If built without line editing and history capabilities
41+
(MICROPY_USE_READLINE=0), the resulting binary can be built using standard
42+
"wine" tool.

0 commit comments

Comments
 (0)