circuitpython/windows
stijn 32acd4b9f1 windows: Fix compilation with mingw-w64 so it uses correct printf implementations
Without this flag, mingw-w64 uses the MS implementations of snpintf and the likes.
This is not really a problem since they work with the the fixes provided for msvc,
but due to the way mingw-w64's stdio.h is structured we cannot get it to use the fixes.
2014-05-20 12:14:28 +02:00
..
msvc windows: Add modtime implementation 2014-05-09 13:58:15 +02:00
.gitignore Windows MSVC port 2014-05-08 10:06:43 +02:00
Makefile windows: Fix compilation with mingw-w64 so it uses correct printf implementations 2014-05-20 12:14:28 +02:00
README Windows MSVC port 2014-05-08 10:06:43 +02:00
alloca.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
init.c mingw: Fix compilation issues 2014-05-10 10:42:40 +02:00
init.h windows: Add modtime implementation 2014-05-09 13:58:15 +02:00
micropython.vcxproj Windows MSVC port 2014-05-08 10:06:43 +02:00
mpconfigport.h windows: Enable frozen set and sys.exit 2014-05-11 19:26:36 +02:00
mpconfigport.mk windows: Unbreak mingw32 build (cross-compiling under Linux). 2014-04-20 22:24:44 +03:00
realpath.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
realpath.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
sleep.c mingw: Fix compilation issues 2014-05-10 10:42:40 +02:00

README

This is experimental, community-supported Windows port of MicroPython.
It is based on Unix port, and expected to remain so.
The port requires additional testing, debugging, and patches. Please
consider to contribute.


To cross-compile under Debian/Ubuntu Linux system:

sudo apt-get install mingw32 mingw32-binutils mingw32-runtime
make CROSS_COMPILE=i586-mingw32msvc-


To compile under Cygwin:

Install following packages using cygwin's setup.exe: mingw-gcc-g++ make
make CROSS_COMPILE=i686-pc-mingw32-


To compile using Visual Studio 2013:

Open micropython.vcxproj and build


To compile using Visual Studio 2013 commandline:

msbuild micropython.vcxproj