Skip to content
build-dynamic-mkcl.lsp 901 B
Newer Older
;;;;  -*- Mode: Lisp; Syntax: Common-Lisp; Package: SYSTEM -*-
;;;;
;;;;  Copyright (c) 2010-2012, Jean-Claude Beaudoin.
;;;;
;;;;  This program is free software; you can redistribute it and/or
;;;;  modify it under the terms of the GNU Lesser General Public
;;;;  License as published by the Free Software Foundation; either
;;;;  version 3 of the License, or (at your option) any later version.
;;;;
;;;;  See file '../Copyright' for full details.

;;;
;;;

;;(setq compiler::*trace-cc* t)

;;(load "cmp/load.lsp" :external-format '(:ascii :lf))
(load "cmp.fasb")

(setq compiler::*mkcl-include-directory* (truename (pathname ".")) ;; truename is needed by MS-Windows
      compiler::*mkcl-library-directory* (truename (pathname "."))
      )

(unless (compiler::build-program
	 #+msvc "mkcl2"
	 #+unix "bin/mkcl-dyn"
	 #+mingw32 "bin/mkcl"
	 )
  (mkcl:quit :exit-code 1))

(mkcl:quit :exit-code 0)