On 2001.10.25, Andrew Piskorski <[EMAIL PROTECTED]> wrote: > Unfortunately, the vendor of this > closed-source API ships only the non-shared libfoo.a version of their > library - they don't ship a libfoo.so.
So, just make a libfoo.so that only consists of libfoo.a linked in. gcc -shared -o libfoo.so -L/path/to/libfoo.a -lfoo Shouldn't this work? You'll need at least one .c file to implement the necessary functions for Tcl's "load" proc, I think. Whatever the case, I'd still avoid statically linking in libfoo.a directly to your nsd binary, though. -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)
