From: William H. N. <wil...@ai...> - 2002-05-15 00:47:53
|
On Tue, May 14, 2002 at 08:36:14PM +0200, Stig E Sandoe wrote: > Quoting William Harold Newman (wil...@ai...): > | On Sun, Feb 03, 2002 at 12:20:38AM +0100, Stig E Sandoe wrote: > | > I decided to get the "other" part of FFI working today, ie make > | > calls from C to lisp-code. The first problem was that SBCL by > | > default was not linked with symbols exported, so no funcall0, > | > funcall1, ... so I ended up getting source from CVS and adding > | > a link-option to Config.x86-linux: > | > > | > OS_LINK_FLAGS = -Wl,--export-dynamic > | > | OK, I added this to sbcl-0.7.1.14, thank you. As below, however, I > | consider it experimental and unstable, so I decorated it with comments > | warning about that. > > I had a go with SBCL and callbacks last night (0.7.3-2 deb) and > realised that it did not work. I eventually checked the above file > again, and realised that it says: > > OS_LINK_FLAGS = -Wl --export-dynamic > > so I changed that to (see above): > > OS_LINK_FLAGS = -Wl,--export-dynamic > > rebuilt the image overnight and voìla.. it works nicely. > > Please update the line for the next release/deb. Thanks in advance. OK. I'm sorry about the mistake. I've never seen that kind of syntax ("-Xy,--foobar") in a Makefile, and I guess I misread it as the syntax I'm accustomed to. I'll probably test and merge the correction sometime in the next few days. (My Linux machine is really flaky at this point, and only runs when the air conditioning is turned 'way down, which does happen from time to time since it's also my only machine which can write CD-ROMs for backups. I'll probably make a backup by this weekend. Or if someone with a Linux machine running gets to it first, that's OK too.) -- William Harold Newman <wil...@ai...> "Palantir great. Better than cable." -- <http://home.nyu.edu/~amw243/diaries/saruman.html> PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C |