X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fforeign.lisp;h=b289ba639de8c31a0c0be4ef8c81a57fe45c81c1;hb=d0552bdb80b50eb2c600de19b89b2d7139c4841c;hp=2e41227eed63465c0248e315e6f03a0736030cf3;hpb=2d4a0df3457bcd50916b33d374da592d8776db0a;p=sbcl.git diff --git a/src/code/foreign.lisp b/src/code/foreign.lisp index 2e41227..b289ba6 100644 --- a/src/code/foreign.lisp +++ b/src/code/foreign.lisp @@ -182,6 +182,14 @@ (unless (zerop possible-result) (return possible-result))))) +;;; Dan Barlow's quick summary from IRC 2003-06-21: +;;; fwiw, load-foreign does random stuff with ld so that you can use +;;; it with static libraries +;;; if you have shared objects, load-1-foreign will do fine +;;; and +;;; I think my position on this matter is consistent with Tim Moore's: +;;; use (cmucl equivalent of) load-1-foreign, load-foreign is arse +;;; though he may say ass (defun load-foreign (files &key (libraries '("-lc"))