Skip to content

Commit fbf976c

Browse files
committed
Merge pull request micropython#902 from pfalcon/readme-unix
README: Update "unix" section with more info/details.
2 parents 37671c9 + 945df4e commit fbf976c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,24 @@ The Unix version
4949

5050
The "unix" port requires a standard Unix environment with gcc and GNU make.
5151
x86 and x64 architectures are supported (i.e. x86 32- and 64-bit), as well
52-
as ARMv7. Porting to other architectures require writing some assembly code
53-
for the exception handling.
52+
as ARM and MIPS. Making full-featured port to another architecture requires
53+
writing some assembly code for the exception handling and garbage collection.
54+
Alternatively, fallback implementation based on setjmp/longjmp can be used.
5455

5556
To build:
5657

5758
$ cd unix
5859
$ make
5960

60-
Then to test it:
61+
Then to give it a try:
6162

6263
$ ./micropython
6364
>>> list(5 * x + y for x in range(10) for y in [4, 2, 1])
6465

66+
Run complete testsuite:
67+
68+
$ make test
69+
6570
Debian/Ubuntu/Mint derivative Linux distros will require build-essentials and
6671
libreadline-dev packages installed. To build FFI (Foreign Function Interface)
6772
module, libffi-dev and pkg-config packages are required. If you have problems

0 commit comments

Comments
 (0)