Update dependency information in README.md
This commit is contained in:
parent
8b4a0f86cf
commit
32ad743d61
1 changed files with 10 additions and 15 deletions
25
README.md
25
README.md
|
@ -24,29 +24,24 @@ Windows).
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
To build Callisto, you'll need a C compiler and *ar* (a standard
|
To build Callisto, you'll need nothing but a C compiler.
|
||||||
Unix archiving utility, should be included on every major Unix).
|
The default C compiler is *cc* which is usually a symbolic link
|
||||||
The default C compiler is *cc* which is usually a symbolic link to
|
to your system's default C compiler. This should be gcc on Linux,
|
||||||
your system's default C compiler. This should be gcc on Linux, and
|
and clang on most of the BSDs. If *cc* doesn't exist on your system,
|
||||||
clang on most of the BSDs. If *cc* doesn't exist on your system,
|
|
||||||
change the `CC` variable in the Makefile to your desired C compiler.
|
change the `CC` variable in the Makefile to your desired C compiler.
|
||||||
|
|
||||||
At runtime you will need only these two libraries:
|
**Callisto has zero runtime dependencies**, unless you built it with
|
||||||
- libm: basic math operations
|
support for GNU libreadline. Lua 5.4 is statically linked in.
|
||||||
- libreadline: REPL history
|
|
||||||
|
|
||||||
Both of these are very common and should be already installed on
|
|
||||||
your machine.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Callisto is distributed as source-only, but don't worry, it's
|
Callisto is distributed as source-only, but don't worry, it's
|
||||||
not hard to compile.
|
not hard to compile.
|
||||||
|
|
||||||
First, get the source code using `git clone https://github.com/jtbx/callisto`
|
First, get the source code using one of the tarballs found in
|
||||||
then in the newly created directory, run `make` to compile Callisto.
|
the [Releases](https://github.com/jtbx/callisto/releases) page.
|
||||||
The compiled executable will be named `csto`, and does not depend
|
Untar it then run `make` to compile Callisto. The compiled
|
||||||
on any Lua .so C modules or Lua files.
|
executable will be named `csto`.
|
||||||
|
|
||||||
To install `csto` (the Callisto standalone executable) and
|
To install `csto` (the Callisto standalone executable) and
|
||||||
`libcallisto.so` (the Callisto shared library), run `make install`
|
`libcallisto.so` (the Callisto shared library), run `make install`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue