-
Notifications
You must be signed in to change notification settings - Fork 10
Compiling and running
jovanbulck edited this page Oct 28, 2014
·
43 revisions
General steps to compile jsh
:
- clone this respository:
git clone git@github.com:jovanbulck/jo-shell.git
- change the directory:
cd jo-shell
- execute the Makefile:
make
Note: to disable debug info, do one of the following:
- type
debug off
- run
jsh
with the--nodebug
option - include the line "
debug off
" in~/.jshrc
- change the initialisation of the
DEBUG
global variable injsh.c
jsh
uses the GNU Readline library. The following sections list platform specific info to install the dependencies:
Install the necessary packages:
$ sudo pacman -S readline
Install the necessary packages:
$ sudo apt-get install libreadline6-dev
Install the necessary packages:
$ tce-load -wi git ncurses compiletc readline readline-dev
Only Free BSD was tried:
- Install
gmake
(GNU make) andgcc
packages withpkg install
- Readline should work now; if not try installing
readline
and/orbash
- always use
gmake
instead ofmake
- Change the line "CC = gcc" to "CC = gcc48" in the Makefile
- Install command line developping tools (
gcc
,make
, ...):
- option 1: install Xcode via the Mac App store
- option 2: only install the command line tools, using this github project
- Point to right readline library
- Install newest readline library via Homebrew or Macports.
- Compile with the
make
command
Home | Installation | Configuration | Manual | Contributing