aboutsummaryrefslogtreecommitdiff
path: root/windows/Makefile
AgeCommit message (Collapse)Author
2015-01-08Remove obsolete bss-related code/build featuresstijn
GC for unix/windows builds doesn't make use of the bss section anymore, so we do not need the (sometimes complicated) build features and code related to it
2015-01-01windows: Prefix includes with py/; remove need for -I../py.Damien George
2014-12-27Makefiles: Support py/*.h includes per #1022.Paul Sokolovsky
2014-12-06windows: define __USE_MINGW_ANSI_STDIO for all Windows compilers.Damien George
2014-10-29Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void*stijn
2014-09-22windows: Enable input(), sys.maxsize(), ujson module, emergency exception ↵stijn
buf, os module
2014-06-22windows: Enable GC and implement bss start and end symbolsstijn
The pointers to the bss section are acquired in init.c() by inspecting the PE header. Works for msvc and mingw.
2014-05-20windows: Fix compilation with mingw-w64 so it uses correct printf ↵stijn
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-09windows: Add modtime implementationstijn
2014-05-07windows: Fix input.c missing in Makefile after changes for #582stijn
2014-05-03mingw: Fix number of exponent digits in floating point formattingstijn
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-03mingw: Add implementation of realpath()stijn
The mingw port used _fullpath() until now, but the behaviour is not exactly the same as realpath()'s on unix; major difference being that it doesn't return an error for non-existing files, which would bypass main's error checking and bail out without any error message. Also realpath() will return forward slashes only since main() relies on that.
2014-04-20windows: Unbreak mingw32 build (cross-compiling under Linux).Paul Sokolovsky
2014-04-17build: Simplify build directory layout by putting all headers in genhdr.Damien George
Any generated headers go in $(BUILD)/genhdr/, and are #included as 'genhdr/xxx.h'.
2014-04-16build directory can now be renamedAndrew Scheller
The autogenerated header files have been moved about, and an extra include dir has been added, which means you can give a custom BUILD=newbuilddir option to make, and everything "just works" Also tidied up the way the different Makefiles build their include- directory flags
2014-04-08windows: Use most of the source files from unix/ port.Damien George
To keep it maintainable, windows port now uses as much as possible from unix port. Maybe could even use mpconfigport.h.
2014-01-28Added Windows port (see #233)Markus Siemens