Update readme
This commit is contained in:
parent
c922f51550
commit
4aada87d53
6
Makefile
6
Makefile
|
|
@ -20,12 +20,12 @@ all: build
|
|||
build: build-gauche
|
||||
|
||||
README.md: doc/compile-scheme.1
|
||||
echo "<pre>" > README.md
|
||||
echo "$$(MANWIDTH=80 man -l doc/compile-scheme.1)" >> README.md
|
||||
echo "" >> README.md
|
||||
echo "" > README.md
|
||||
cat README_ADDITIONAL.md >> README.md
|
||||
echo "# Manual" >> README.md
|
||||
echo "<pre>" >> README.md
|
||||
echo "$$(MANWIDTH=80 man -l doc/compile-scheme.1)" >> README.md
|
||||
echo "<pre>" >> README.md
|
||||
|
||||
build-chibi:
|
||||
echo "#!/bin/sh" > compile-scheme
|
||||
|
|
|
|||
82
README.md
82
README.md
|
|
@ -1,3 +1,44 @@
|
|||
|
||||
# Install
|
||||
|
||||
## Linux
|
||||
|
||||
First install Gauche Scheme, on Debian/Ubuntu for example
|
||||
|
||||
apt-get install gauche
|
||||
|
||||
Then build and install compile-scheme
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
## Mac OS
|
||||
|
||||
First install Gauche Scheme, with brew for example
|
||||
|
||||
brew install gauche
|
||||
|
||||
Then build and install compile-scheme
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
## Windows
|
||||
To install on windows first install Gauche Scheme. Then run install.bat as
|
||||
administrator.
|
||||
|
||||
# Usage
|
||||
|
||||
## Powershell
|
||||
|
||||
$env:COMPILE_SCHEME="gauche" ; compile-scheme -o main main.scm
|
||||
.\main.bat
|
||||
|
||||
## Wine cmd
|
||||
|
||||
set COMPILE_SCHEME=gauche
|
||||
|
||||
# Manual
|
||||
<pre>
|
||||
compile-scheme(1) General Commands Manual compile-scheme(1)
|
||||
|
||||
|
|
@ -130,45 +171,4 @@ EXAMPLES
|
|||
install myapp ${PREFIX}/bin/myapp
|
||||
|
||||
compile-scheme(1)
|
||||
|
||||
# Install
|
||||
|
||||
## Linux
|
||||
|
||||
First install Gauche Scheme, on Debian/Ubuntu for example
|
||||
|
||||
apt-get install gauche
|
||||
|
||||
Then build and install compile-scheme
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
## Mac OS
|
||||
|
||||
First install Gauche Scheme, with brew for example
|
||||
|
||||
brew install gauche
|
||||
|
||||
Then build and install compile-scheme
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
## Windows
|
||||
To install on windows first install Gauche Scheme. Then run install.bat as
|
||||
administrator.
|
||||
|
||||
# Usage
|
||||
|
||||
## Powershell
|
||||
|
||||
$env:COMPILE_SCHEME="gauche" ; compile-scheme -o main main.scm
|
||||
.\main.bat
|
||||
|
||||
## Wine cmd
|
||||
|
||||
set COMPILE_SCHEME=gauche
|
||||
|
||||
# Manual
|
||||
<pre>
|
||||
|
|
|
|||
Loading…
Reference in New Issue