diff --git a/Makefile b/Makefile index 58ef39f..1574d39 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ README.md: doc/compile-scheme.1 echo "$$(MANWIDTH=80 man -l doc/compile-scheme.1)" >> README.md echo "" > README.md cat README_ADDITIONAL.md >> README.md - echo "" > README.md + echo "" >> README.md echo "
" >> README.md build-chibi: diff --git a/README.md b/README.md index f20f71d..7afc32f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,42 @@ +# 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 + +