README: Update "unix" section with more info/details.
This commit is contained in:
parent
c36c75c4dc
commit
945df4e564
11
README.md
11
README.md
@ -49,19 +49,24 @@ The Unix version
|
|||||||
|
|
||||||
The "unix" port requires a standard Unix environment with gcc and GNU make.
|
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
|
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
|
as ARM and MIPS. Making full-featured port to another architecture requires
|
||||||
for the exception handling.
|
writing some assembly code for the exception handling and garbage collection.
|
||||||
|
Alternatively, fallback implementation based on setjmp/longjmp can be used.
|
||||||
|
|
||||||
To build:
|
To build:
|
||||||
|
|
||||||
$ cd unix
|
$ cd unix
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
Then to test it:
|
Then to give it a try:
|
||||||
|
|
||||||
$ ./micropython
|
$ ./micropython
|
||||||
>>> list(5 * x + y for x in range(10) for y in [4, 2, 1])
|
>>> 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
|
Debian/Ubuntu/Mint derivative Linux distros will require build-essentials and
|
||||||
libreadline-dev packages installed. To build FFI (Foreign Function Interface)
|
libreadline-dev packages installed. To build FFI (Foreign Function Interface)
|
||||||
module, libffi-dev and pkg-config packages are required. If you have problems
|
module, libffi-dev and pkg-config packages are required. If you have problems
|
||||||
|
Loading…
Reference in New Issue
Block a user