-
Notifications
You must be signed in to change notification settings - Fork 11
/
INSTALL
38 lines (27 loc) · 984 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Prerequisites
-------------
Xs requires the boost, ffi, gc (Boehm) and readline libraries.
To build xs you'll need the Clang or GNU C++ compiler, the Meson/Ninja
build system, Bison and the developer packages of the libraries noted
above.
Xs is known to build with these (minimum) library versions:
boost 1.60
ffi 6.0.2
gc 1.0.3
readline 6.3
Installation
------------
To build and install xs using your default C++ compiler, do:
$ ./build.sh
$ ./build.sh check
$ sudo ./build.sh install
You can also force the build to use either GCC or Clang as follows:
$ ./build.sh --clang
$ ./build.sh --gcc
Setting xs as your default shell
--------------------------------
Add the xs binary's path to /etc/shells, then change your shell using
usermod or chsh.
Consult readline(1) for options to set in your ~/.inputrc file. Also,
enable persistent history by assigning a file path to the history variable
in your ~/.xsrc file.