Updated the FreeBSD instructions for 11.1 after testing and building.

master
Aaron Mildenstein 2018-07-16 13:34:44 -06:00
rodzic 83213a04ff
commit e301f360fb
1 zmienionych plików z 8 dodań i 6 usunięć

@ -43,25 +43,27 @@ At that point, you will have a functioning micropython executable, which may be
### FreeBSD
(Release 9.2 tested)
(Release 11.1 tested)
Ensure that you have git, GCC, gmake, python3, and bash packages installed:
Ensure that you have git, GCC, gmake, python3, bash, autotools, and pkgconf packages installed:
> [as root] pkg_add -r git gcc gmake python3 bash
> [as root] pkg install git gcc gmake python3 bash autotools pkgconf
Clone the git repository to your local machine:
> git clone https://github.com/micropython/micropython.git
> git clone --recurse-submodules https://github.com/micropython/micropython.git
Change directory to the Unix build directory:
> cd ./micropython/ports/unix
Edit main.c, replacing "malloc.h" with "stdlib.h", then:
And then make the executable:
> gmake axtls
> gmake
This will generate the 'py' executable, which may be executed by:
At that point, you will have a functioning micropython executable, which may be launched with the command:
> ./micropython