-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into docker-fixes
- Loading branch information
Showing
110 changed files
with
14,085 additions
and
11,375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,17 +27,19 @@ ahead of time compilation and compiled macros. | |
The source code for Gerbil is hosted on [Github](https://github.com/mighty-gerbils/gerbil), | ||
with the latest release available in [releases](https://github.com/mighty-gerbils/gerbil/releases). | ||
|
||
Installation from source is straightforward: | ||
**If you are on Linux** installation from source is straightforward: | ||
```shell | ||
$ git clone [email protected]:mighty-gerbils/gerbil.git | ||
$ cd gerbil | ||
$ ./configure | ||
$ make | ||
$ make -j4 | ||
$ sudo make install | ||
``` | ||
|
||
This will install Gerbil in `/opt/gerbil`; all you have to do then is | ||
add `/opt/gerbil/bin` to your path. | ||
add `/opt/gerbil/bin` to your path. Obviously, you can customize the | ||
install prefix by using the `--prefix=/path/to/gerbil/installation` | ||
configure option. | ||
|
||
**Note** the default configuration has some dependencies you may need | ||
to install: sqlite, zlib, and libcrypto/openssl. | ||
|
@@ -46,7 +48,23 @@ You can install them in ubuntu with: | |
$ sudo apt install libssl-dev zlib1g-dev libsqlite3-dev | ||
``` | ||
|
||
For more detailed installation instructions see the [Guide](https://cons.io/guide/). | ||
**Note** If you want to install the latest release (v0.18), you can also use the precompiled binary packages for Ubuntu, Debian, Fedora, and CentOS. They are available in the [v0.18 release](https://github.com/mighty-gerbils/gerbil/releases/tag/v0.18) page. | ||
|
||
**If you are on MacOS** you can install Gerbil using our [brew formula](https://github.com/mighty-gerbils/gerbil/blob/master/homebrew/gerbil-scheme.rb): | ||
```shell | ||
$ wget https://raw.githubusercontent.com/mighty-gerbils/gerbil/master/homebrew/gerbil-scheme.rb | ||
|
||
## to use 4 cores for the build | ||
$ export GERBIL_BUILD_CORES=4 | ||
|
||
## to install latest release | ||
$ brew install --formula -vd gerbil-scheme.rb | ||
|
||
## to install latest Gerbil from master | ||
$ brew install --HEAD --formula -vd gerbil-scheme.rb | ||
``` | ||
|
||
for more detailed installation instructions see the [Guide](https://cons.io/guide/). | ||
|
||
# Using Gerbil | ||
The Gerbil interpreter is `gxi`, and the compiler is `gxc`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.