| Age | Commit message (Collapse) | Author |
|
|
|
|
|
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).
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
Now of the form MICROPY_PY_*. See issue #35.
|
|
|
|
Allow compilation of unix port under clang on OS X
|
|
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.
|
|
It's a hack, but can't find a cleaner way to do it.
|
|
|
|
|
|
Any generated headers go in $(BUILD)/genhdr/, and are #included as
'genhdr/xxx.h'.
|
|
lurch-relocatable-build-dir
|
|
As discussed in #504
|
|
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
|
|
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.
|
|
Makes it easier for 64-bit unix hosts to build 32-bit unix
binaries (for testing)
|
|
Disabled by default. Enabled in unix port.
|
|
|
|
|
|
This change allows to build unix version without libreadline installed.
|
|
|
|
To allow easily try different optimization and configuration options
without patching any files.
|
|
Enable GC for Unix port
|
|
|
|
|
|
Both return int so far (single-precision float doesn't have enough
bits to represent int32 precisely).
|
|
Hopefully this works for other people as well :)
|
|
Proof of concept, controls "ffi" module as one which requires external
dependencies.
|
|
|
|
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))).
|
|
|
|
Also, don't try to force debug info format, use native.
|
|
|
|
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|
|
|
|
|
|
Conflicts:
py/objint.c
unix-cpy/Makefile
unix/Makefile
|
|
|
|
|
|
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
This should fix issue #117
|
|
Note: only read/write/close methods are defined so far, and class
is not exposed (use open() factory function, as usual).
|
|
|
|
Now much more inline with how CPython does types.
|
|
|