1
0
Fork 0

Working on windows version

This commit is contained in:
retropikzel 2025-12-24 16:33:39 +02:00
parent 0970c4f79d
commit ff331da60e
4 changed files with 72 additions and 3 deletions

27
INSTALL.md Normal file
View File

@ -0,0 +1,27 @@
# Install
## Linux
First install Gauche Scheme, on Debian/Ubuntu
apt-get install gauche
Then build and install compile-scheme
make
make install
## Mac OS
First install Gauche Scheme, on Debian/Ubuntu
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.

View File

@ -19,7 +19,12 @@ all: build
build: build-gauche
README.md: doc/compile-scheme.1
printf "<pre>\n$$(MANWIDTH=80 man -l doc/compile-scheme.1)\n</pre>" > README.md
echo "<pre>" > README.md
echo "$$(MANWIDTH=80 man -l doc/compile-scheme.1)" >> README.md
echo "" > README.md
cat README_ADDITIONAL.md >> README.md
echo "" > README.md
echo "<pre>" >> README.md
build-chibi:
echo "#!/bin/sh" > compile-scheme

39
README_ADDITIONAL.md Normal file
View File

@ -0,0 +1,39 @@
# 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

View File

@ -1,2 +0,0 @@
To install on windows first install Gauche Scheme. Then run install.bat as
administrator.