From 99f9e4836f22a667965c69024a88ecb5c5bf41dd Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Wed, 28 Nov 2018 19:52:37 -0500 Subject: [PATCH] Add FreeBSD instructions. --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 73e9ef96..9dfc632b 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Janet only uses Make and batch files to compile on Posix and windows respectively. To configure janet, edit the header file src/include/janet/janet.h before compilation. -### Posix +### Unix-like On most platforms, use Make to build janet. @@ -114,6 +114,17 @@ Will install in `/usr/local` by default, see the Makefile to customize. It's also recommended to set the `JANET_PATH` variable in your profile. This is where janet will look for imported libraries after the current directory. +### FreeBSD + +FreeBSD build instructions are the same as the unix-like build instuctions, +but you need `gmake` and `gcc` to compile. + +``` +cd somewhere/my/projects/janet +gmake CC=gcc +gmake test CC=gcc +``` + ### Windows 1. Install [Visual Studio](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15#)