;;; Copyright (c) 1998--2002 ;;; John Carroll, Ann Copestake, Robert Malouf, Stephan Oepen; ;;; see `LICENSE' for conditions. ;; Create a runtime image suitable for distribution (in-package :common-lisp-user) (let ((target (dir-append sys-home (list :relative mk::%system-binaries%)))) (when (probe-file target) (delete-directory-and-files target)) #+(and :allegro-version>= (version>= 5 0) :excl) (ignore-errors (excl:make-directory path)) ;; ;; the way ACL (6.1, at least) does its library file copying, we need to be ;; in the sys: directory, when we call generate-application(); later on, the ;; loadup process will change back to the LKB source directory ... :-{. ;; #-:sparc (excl:chdir (translate-logical-pathname "sys:")) (excl:generate-application "lkb" target (list :srecord :eli :sock (merge-pathnames #p"src/ACL_specific/build.lsp" sys-home)) :opt-speed 3 :newspace (* 1024 1024 256) :oldspace (* 1024 1024 128) :lisp-heap-size (* 1024 1024 #-:mswindows 768 #+:mswindows 512) ;; ;; change heap placement to allow immense newspace growth (21-may-00 - oe) ;; #+:linux86 :lisp-heap-start #+(and :linux86 (not (version>= 6 2))) "1040M" #+(and :linux86 (version>= 6 2)) "1152M" #+(and :sparc :solaris2) :c-heap-start #+(and :sparc :solaris2) #xe0000000 :runtime :standard #+(version>= 6 0) :runtime-bundle #+(version>= 6 0) t :include-clim t :include-compiler t :pll-file (when (pll-file) (file-namestring (pll-file))) :bundle-file (file-namestring (namestring (bundle-pathname))) :opt-speed 3 :opt-space 1 :opt-safety 1 :opt-debug 2 :read-init-files '(".clinit.cl" "clinit.cl") :include-tpl t :include-debugger nil :include-devel-env nil :include-ide nil #-(or :mswindows (version>= 6 2)) :include-common-graphics #-(or :mswindows (version>= 6 2)) nil :include-composer nil :include-xcw nil :discard-compiler t :discard-arglists t :discard-local-name-info t :discard-source-file-info t :load-xref-info nil :record-xref-info nil :discard-xref-info nil :print-startup-message nil #-(or :mswindows (version>= 6 2)) :presto #-(or :mswindows (version>= 6 2)) t #-(or :mswindows (version>= 6 2)) :presto-build-lib #-(or :mswindows (version>= 6 2)) (dir-and-name target "lkb.lib")))