mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 23:40:27 +00:00
Add FreeBSD instructions.
This commit is contained in:
parent
305c113c91
commit
99f9e4836f
13
README.md
13
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#)
|
||||
|
Loading…
Reference in New Issue
Block a user