From e301f360fb7ec7955651ff9e1e2cd6e389c63ae1 Mon Sep 17 00:00:00 2001 From: Aaron Mildenstein Date: Mon, 16 Jul 2018 13:34:44 -0600 Subject: [PATCH] Updated the FreeBSD instructions for 11.1 after testing and building. --- Getting-Started.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index 08a475f..d801e9c 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -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