|
From: | Thomas Chust |
Subject: | Re: [Chicken-users] static library and link |
Date: | Wed, 24 May 2006 12:13:25 +0000 (GMT) |
On Wed, 24 May 2006, felix winkelmann wrote:
On 5/23/06, Frédéric Peschanski <address@hidden> wrote:[...] Finally, I don't really understand which commands I should use for compilation :[...] - of the library .o ==> .socsc X.o Y.o -s -o libXY.so [...]
Hello,as I already pointed out in my earlier reply to this thread (which is apparently, like so often these days, delayed forever by the mailing list software), the result of just linking several object files generated by csc together into a library is probably not the one you expect.
Something like csc -s -c mylib.scm supp{1,2}.scm csc -s mylib.o supp{1,2}.o -o mylib.sowill very likely generate a linker error due to multiple definitions of C_toplevel...
cu, Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |