You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
427 B

(require 'cmp)
(defun cmpsupport (source afile)
(let* ((src-length (length source))
;; HACK(eta): what the heck
(c::+static-library-format+ "~a.a")
(cursed-obj-file (concatenate 'string
(subseq source 0 (- src-length 4))
"o")))
(compile-file source :system-p t)
(c::build-static-library afile
:lisp-files (list cursed-obj-file)
:init-name "ecl_support_init")
(quit)))