mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-08 10:13:36 -08:00
instance, now "HOME:FOO.LISP" matches the translation rule
("**/*.*" "~/**/*.*"), which formerly it did not. Also, add a logical
hostname for the home directory.
48 lines
1.2 KiB
Text
48 lines
1.2 KiB
Text
;;;
|
|
;;; Configuration file for the bootstrapping version of ECL
|
|
;;;
|
|
(load "bare.lsp")
|
|
|
|
;;;
|
|
;;; Trick to make names shorter
|
|
;;;
|
|
(rename-package "CL" "CL" '("COMMON-LISP" "LISP"))
|
|
|
|
;;;
|
|
;;; * Compile, load and link Common-Lisp base library
|
|
;;;
|
|
(setq si::*keep-documentation* nil)
|
|
(in-package "COMMON-LISP-USER")
|
|
(load "lsp/defsys.lsp")
|
|
(proclaim '(optimize (safety 2) (space 3)))
|
|
(sbt::operate-on-system lsp :library)
|
|
#+dlopen
|
|
(sbt::operate-on-system lsp :load)
|
|
(si::pathname-translations "SYS" '(("**;*.*" "@abs_builddir@/**/*.*")))
|
|
(setq compiler::*cc-flags* (concatenate 'string compiler::*cc-flags* " -I@srcdir@/h -I@srcdir@/gmp -I@builddir@/h"))
|
|
|
|
;;;
|
|
;;; * Compile, load and link PCL based Common-Lisp Object System
|
|
;;;
|
|
#+WANTS-CLOS
|
|
(progn
|
|
(load "clos/defsys.lsp")
|
|
(proclaim '(optimize (safety 2) (space 3)))
|
|
(sbt::operate-on-system clos :library)
|
|
;(sbt::operate-on-system clos :load)
|
|
)
|
|
|
|
;;;
|
|
;;; * Compile, load and link Common-Lisp to C compiler
|
|
;;;
|
|
#+WANTS-CMP
|
|
(progn
|
|
(load "cmp/defsys.lsp")
|
|
(proclaim '(optimize (safety 2) (space 3)))
|
|
(sbt::operate-on-system cmp #-dlopen :library #+dlopen :shared-library)
|
|
;(sbt::operate-on-system cmp :load)
|
|
)
|
|
|
|
(compiler::build-program "ecl" :lisp-files '(#+(and (not dlopen) WANTS-CMP) cmp))
|
|
|
|
(quit)
|