circuitpython/windows
stijn 72521a1c17 mingw: Fix number of exponent digits in floating point formatting
By default mingw outputs 3 digits instead of the standard 2 so all float
tests using printf fail. Using setenv at the start of the program fixes this.
To accomodate calling platform specific initialization a
MICROPY_MAIN_INIT_FUNC macro is used which is called in mp_init()
2014-05-03 20:15:15 +02:00
..
alloca.h windows: alloca.h: Add comment, fix line endings. 2014-05-03 14:42:39 +03:00
init.c mingw: Fix number of exponent digits in floating point formatting 2014-05-03 20:15:15 +02:00
init.h mingw: Fix number of exponent digits in floating point formatting 2014-05-03 20:15:15 +02:00
Makefile mingw: Fix number of exponent digits in floating point formatting 2014-05-03 20:15:15 +02:00
mpconfigport.h mingw: Fix number of exponent digits in floating point formatting 2014-05-03 20:15:15 +02:00
mpconfigport.mk windows: Unbreak mingw32 build (cross-compiling under Linux). 2014-04-20 22:24:44 +03:00
README windows/README: Use CROSS_COMPILE instead of CC to cover other tools too. 2014-04-23 20:45:53 +03:00
realpath.c mingw: Add implementation of realpath() 2014-05-03 17:38:08 +02:00
realpath.h mingw: Add implementation of realpath() 2014-05-03 17:38:08 +02:00

This is experimental, community-supported Windows port of MicroPython.
It is based on Unix port, and expected to remain so.

To cross-compile under Debian/Ubuntu Linux system:

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

The port requires additional testing, debugging, and patches. Please
consider to contribute.