2008/8/13 Raymond Toy (RT/EUS) <raymond.toy at ericsson.com>:
>> I did this to load lapack (maxima+ecl on os x):
>>
>> in lapack.system
>>
>> 1) add #+ecl "ecl" to lapack-binary-pathname
>> 2) add #+ecl :binary-extension #+ecl "fas" to every (mk:defsystem)
>
> We should probably abstract this information out into a function, so we only
> need to maintain that info in just one place.
I think we should patch lisp-utils/defsystem.lisp. With the patch, 2)
is not necessary. I don't know what is the correct ending for msvc. I
think 1) is OK. "make install" should also put
lisp-utils/defsystem.lisp somewhere so that ecl can load it.
Andrej
Index: defsystem.lisp
===================================================================
RCS file: /cvsroot/maxima/maxima/lisp-utils/defsystem.lisp,v
retrieving revision 1.29
diff -u -r1.29 defsystem.lisp
--- defsystem.lisp 27 Jul 2008 07:04:04 -0000 1.29
+++ defsystem.lisp 13 Aug 2008 19:19:37 -0000
@@ -1371,7 +1371,7 @@
#+ACLPC ("lsp" . "fsl")
#+CLISP ("lisp" . "fas")
#+KCL ("lsp" . "o")
- #+ECL ("lsp" . #+msvc "obj"
#-msvc "o")
+ #+ECL ("lsp" . #+msvc "obj"
#-msvc "fas")
#+IBCL ("lsp" . "o")
#+Xerox ("lisp" . "dfasl")
;; Lucid on Silicon Graphics