8000 windows: Update build instructions in the README · russbot/circuitpython@c76fe77 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit c76fe77

Browse files
stinosdpgeorge
authored andcommitted
windows: Update build instructions in the README
- use correct 'mingw-w64' package name - small grammar fixes - modify Cygwin build instructions to use that same compiler as well: the original mingw is stuck at gcc v4.7 and does not seem to be updated anymore - make it clear thet uPy also builds using Visual Studio versions > 2013
1 parent 35e7d9c commit c76fe77

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

windows/README

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ To cross-compile under Debian/Ubuntu Linux system:
99
sudo apt-get install gcc-mingw-w64
1010
make CROSS_COMPILE=i686-w64-mingw32-
1111

12-
If for some reason mingw64 crosscompiler is not available, you can try
13-
mingw32 instead, but it come with really old gcc which may produce some
12+
If for some reason the mingw-w64 crosscompiler is not available, you can try
13+
mingw32 instead, but it comes with a really old gcc which may produce some
1414
spurious errors (you may need to disable -Werror):
1515

1616
sudo apt-get install mingw32 mingw32-binutils mingw32-runtime
@@ -19,26 +19,29 @@ make CROSS_COMPILE=i586-mingw32msvc-
1919

2020
To compile under Cygwin:
2121

22-
Install following packages using cygwin's setup.exe: mingw-gcc-g++ make
23-
make CROSS_COMPILE=i686-pc-mingw32-
22+
Install following packages using cygwin's setup.exe:
23+
mingw64-i686-gcc-core, make
24+
Build using:
25+
26+
make CROSS_COMPILE=i686-w64-mingw32-
2427

2528

26-
To compile using Visual Studio 2013:
29+
To compile using Visual Studio 2013 (or higher):
2730

2831
Open micropython.vcxproj and build
2932

3033

31-
To compile using Visual Studio 2013 commandline:
34+
To compile using Visual Studio 2013 (or higher) commandline:
3235

3336
msbuild micropython.vcxproj
3437

3538

3639
To run on Linux using Wine:
3740

38-
Default build (MICROPY_USE_READLINE=1) uses extended Windows console
41+
The default build (MICROPY_USE_READLINE=1) uses extended Windows console
3942
functions and thus should be run using "wineconsole" tool. Depending
40-
on Wine build configuration, you may also want to select curses backend
41-
which has look&feel of a standard Unix console:
43+
on the Wine build configuration, you may also want to select the curses
44+
backend which has the look&feel of a standard Unix console:
4245

4346
wineconsole --backend=curses ./micropython.exe
4447

0 commit comments

Comments
 (0)
0