aboutsummaryrefslogtreecommitdiff
path: root/unix/Makefile
AgeCommit message (Collapse)Author
2014-08-11added install/uninstallSebastian Plamauer
2014-06-22unix: Don't error out on #warning directive.Paul Sokolovsky
2014-06-20unix: Add CFLAGS_EXTRA & LDFLAGS_EXTRA for command line usage.Paul Sokolovsky
The idea is that it should be possible to pass any additional params for experimentation without need to patch sources (and without need to deviate from or repeat baseline options).
2014-06-20unix: Refactor order file munging fo MacOSX.Paul Sokolovsky
2014-06-20unix: Group CFLAGS related stuff together.Paul Sokolovsky
2014-06-20unix: Allow to override compiler warning options without touching the rest.Paul Sokolovsky
Some people want to enable even more warnings. Let them do it without putting burden on everyone. Some people vice versa think that current settings should be relaxed. In this regard, -Werror is the most problematic, it disallows to use #warning directive, and disallows to pass configuration settings on make command lines. Again, until decided how to deal with these globally, allow to work around these problems locally.
2014-06-07- Let the build environment decide about the toolchain to be used, in caseMarcus von Appen
there are special tweaks and paths to be considered. Just provide some defaults, in case the values are undefined. - py-version.sh does not need any bash specific features. - Use libdl only on Linux for now. FreeBSD provides dl*() calls from libc.
2014-05-28Revert "Fix DEBUG=1 builds"Paul Sokolovsky
This reverts commit 6e76f7bc90fcd130db888f8804b8555dc8f3a484. This patch tries to workaround a previous clang workaround. Instead of going into workaround of workaround spiral, the original workaround should be tamed.
2014-05-26Fix DEBUG=1 buildsDave Hylands
Without this fix, I get the following error: CC gccollect.c gccollect.c: In function ‘gc_helper_get_regs’: gccollect.c:63:1: error: bp cannot be used in asm here
2014-05-24Rename configuration variables controling Python features.Damien George
Now of the form MICROPY_PY_*. See issue #35.
2014-05-21unix, Mac support: Generate order.def via Makefile.Damien George
2014-05-21Merge pull request #607 from Anton-2/osx-clangDamien George
Allow compilation of unix port under clang on OS X
2014-05-14unix: Add "_os" module with stat().Paul Sokolovsky
stat() is bad function to use using FFI, because its ABI is largely private. To start with, Glibc .so doesn't even have "stat" symbol. Then, layout of struct stat is too implementation-dependent. So, introduce _os to deal with stat() and other similar cases.
2014-05-12unix: Create __bss_start and _end symbols for Mach-O targets.Antonin ENFRUN
It's a hack, but can't find a cleaner way to do it.
2014-05-07Add input command for unixDave Hylands
2014-04-20modffi: Fix how we call `pkg-config`Ilya Dmitrichenko
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-17Merge branch 'relocatable-build-dir' of github.com:lurch/micropython into ↵Damien George
lurch-relocatable-build-dir
2014-04-17Updated the envvar used by ./run-testsAndrew Scheller
As discussed in #504
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-16Add 'test' target to unix/MakefileAndrew Scheller
In conjunction with #504 this allows you to do things like: ```shell make -C unix clean && make -C unix test CC=gcc-4.7 ``` all from the top-level micropython directory :-) Something similar could probably be done for windows/Makefile too, but I don't have a cygwin setup to test with.
2014-04-16New config option MICROPY_FORCE_32BIT (defaulted to 0)Andrew Scheller
Makes it easier for 64-bit unix hosts to build 32-bit unix binaries (for testing)
2014-04-14Make USE_COMPUTED_GOTO a config option in mpconfig.h.Damien George
Disabled by default. Enabled in unix port.
2014-04-15Use computed goto instead of switching op-codes.AZ Huang
2014-04-04unix: Rename module sources per latest naming conventions (mod*.c).Paul Sokolovsky
2014-02-28MICROPY_USE_READLINE: Selects link lib, so should be defined in mpconfigport.mkPaul Sokolovsky
This change allows to build unix version without libreadline installed.
2014-02-14OS X compatible -map syntax for LDFLAGSGordon McGregor
2014-02-12unix Makefile: Split off optimization options to COPT variable.Paul Sokolovsky
To allow easily try different optimization and configuration options without patching any files.
2014-02-11Merge pull request #278 from pfalcon/unix-gcDamien George
Enable GC for Unix port
2014-02-11unix: Implement garbage collection support.Paul Sokolovsky
2014-02-11Enable link map file generation.Paul Sokolovsky
2014-02-02unix: Add basic time module (with time() and clock() functions).Paul Sokolovsky
Both return int so far (single-precision float doesn't have enough bits to represent int32 precisely).
2014-02-01unix: libffi include path now found using pkg-config.Damien George
Hopefully this works for other people as well :)
2014-02-01Add mpconfigport.mk file to configure which modules to include into build.Paul Sokolovsky
Proof of concept, controls "ffi" module as one which requires external dependencies.
2014-01-28unix: Fix compile warnings for ffi module on 64-bit machine.Damien George
2014-01-29unix: Initial implementation of FFI module.Paul Sokolovsky
Foreign Function Interface module allows to load native dynamic libraries, call functions and access variables in them. This makes possible to write interface modules in pure Python. This module provides thin wrapper around libffi. ctypes compatibility might be possible to implement on top of this module (though ctypes allow to call functions without prototypes, which is not supported by libffi (i.e. implementation would be inefficient))).
2014-01-26Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c.Damien George
2014-01-25unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.Paul Sokolovsky
Also, don't try to force debug info format, use native.
2014-01-24Rework makefiles. Add proper dependency checking.Dave Hylands
2014-01-21Revamp qstrs: they now include length and hash.Damien George
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
2014-01-20Rename unix binary to 'micropython'.Damien George
2014-01-19Add lean ("raw") socket module.Paul Sokolovsky
2014-01-15Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2intDamien George
Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile
2014-01-14Implemented int(str) in UNIXxyb
2014-01-13made DEBUG control CFLAGS in Makefiles oter than stm as well.John R. Lenton
2014-01-08Make build output quieter.Dave Hylands
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. This should fix issue #117
2014-01-08unix: Add basic implementation of io.FileIO object.Paul Sokolovsky
Note: only read/write/close methods are defined so far, and class is not exposed (use open() factory function, as usual).
2014-01-07Factor and simplify Makefile's and mpconfig.Damien George
2014-01-04Convert Python types to proper Python type hierarchy.Damien George
Now much more inline with how CPython does types.
2014-01-04Convert USE_READLINE config option to be consistent with others.Paul Sokolovsky