From: Chris Hanson Date: Fri, 18 Dec 2009 06:32:06 +0000 (-0800) Subject: Add files to build and distribute Windows binaries. X-Git-Tag: 20100708-Gtk~197^2~14 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=97f0b22673a245932afc40baf694767c8c4e8b97;p=mit-scheme.git Add files to build and distribute Windows binaries. --- diff --git a/dist/windows/build-band.bat b/dist/windows/build-band.bat new file mode 100755 index 000000000..d9e3dbd71 --- /dev/null +++ b/dist/windows/build-band.bat @@ -0,0 +1,3 @@ +cd runtime +..\microcode\scheme.exe --library ..\lib --fasl make.com +cd .. diff --git a/dist/windows/build-band.scm b/dist/windows/build-band.scm new file mode 100755 index 000000000..1302bd95c --- /dev/null +++ b/dist/windows/build-band.scm @@ -0,0 +1,11 @@ +(begin + (cd "../win32") + (load "make") + (cd "../sf") + (load "make") + (cd "../compiler") + (load "machines/i386/make") + (cd "../edwin") + (load "make") + (disk-save "../all.com") + (%exit)) \ No newline at end of file diff --git a/dist/windows/compile-all.scm b/dist/windows/compile-all.scm new file mode 100755 index 000000000..78c3eef96 --- /dev/null +++ b/dist/windows/compile-all.scm @@ -0,0 +1,43 @@ +(with-working-directory-pathname "microcode\\" + (lambda () + (sf-conditionally "utabmd"))) +(with-working-directory-pathname "runtime\\" + (lambda () + (load "runtime.sf") + (load "runtime.cbf"))) +(with-working-directory-pathname "win32\\" + (lambda () + (load "win32.sf") + (load "win32.cbf"))) +(with-working-directory-pathname "sf\\" + (lambda () + (load "sf.sf") + (load "sf.cbf"))) +(with-working-directory-pathname "cref\\" + (lambda () + (load "cref.sf") + (load "cref.cbf"))) +(with-working-directory-pathname "compiler\\" + (lambda () + (let ((copy + (lambda (name) + (let ((from (merge-pathnames name "machines\\i386\\"))) + (if (file-modification-time