From 4eb59d1293ab66f5b669740daf4bd0eef4a2afcf Mon Sep 17 00:00:00 2001 From: Eric <Dr-Syn@users.noreply.github.com> Date: Wed, 1 Jan 2014 22:00:05 -0800 Subject: [PATCH] Tested FreeBSD install and confirmed installation instructions --- Getting-Started.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Getting-Started.md b/Getting-Started.md index 516b474..ffac84a 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -28,6 +28,30 @@ At that point, you will have a functioning micropython executable, which may be > ./py +### FreeBSD + +(Release 9.2 tested) + +Ensure that you have git and the GCC packages installed: + +> [as root] pkg_add -r git gcc gmake + +Clone the git repository to your local machine: + +> git clone https://github.com/micropython/micropython.git + +Change directory to the Unix build directory: + +> cd ./micropython/unix + +Edit main.c, replacing "malloc.h" with "stdlib.h", then: + +> gmake + +This will generate the 'py' executable, which may be executed by: + +> ./py + ### Fedora, CentOS, and Red Hat Enterprise Linux and variants ### ArchLinux