diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-11 18:58:46 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-11 18:58:46 +0100 |
commit | fbf976c9aa1589bc9da36187d60fc8e2281ad2c4 (patch) | |
tree | 0569f615d43c2ba8c1be980f87e55c1ce595ab47 | |
parent | 37671c9a973d20248048343cb168c50f6bbca959 (diff) | |
parent | 945df4e564176aa2d5bb9ec9bf833b684e235de0 (diff) |
Merge pull request #902 from pfalcon/readme-unix
README: Update "unix" section with more info/details.
-rw-r--r-- | README.md | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -49,19 +49,24 @@ The Unix version The "unix" port requires a standard Unix environment with gcc and GNU make. x86 and x64 architectures are supported (i.e. x86 32- and 64-bit), as well -as ARMv7. Porting to other architectures require writing some assembly code -for the exception handling. +as ARM and MIPS. Making full-featured port to another architecture requires +writing some assembly code for the exception handling and garbage collection. +Alternatively, fallback implementation based on setjmp/longjmp can be used. To build: $ cd unix $ make -Then to test it: +Then to give it a try: $ ./micropython >>> list(5 * x + y for x in range(10) for y in [4, 2, 1]) +Run complete testsuite: + + $ make test + Debian/Ubuntu/Mint derivative Linux distros will require build-essentials and libreadline-dev packages installed. To build FFI (Foreign Function Interface) module, libffi-dev and pkg-config packages are required. If you have problems |