[Starkit] Linkable starkit library?
Jean-Claude Wippler
jcw at equi4.com
Fri May 26 21:10:10 CEST 2006
Jeff Hobbs wrote:
> Clif Flynt wrote:
>> I've got some Tcl code that I'd like to make available to
>> folks developing in C and FORTRAN.
>>
>> Embedding Tcl is easy enough if you've got a full Tcl
>> library at the user end, but I'd like to provide them with a
>> single library to link against which would generate a single
>> executable for their application.
>
> As suspected, you want a stardll.
Not sure. A stardll is a dll with a vfs at the end. I think Clif
wants a static library which gets linked into an app with no extra
concern about VFS stuff (just like the Tcl static lib works for such
purposes).
One of the things I'm working on is a more adjustable way of opening
MK datasets inside a file. Then, VFS could be embedded in C (or in
an ELF loader section), and you'd be able to mount it just by passing
a pointer. As it is, we're not quite there yet.
For now, you could use either use a stardll (i.e. a second file), or
give them a VFS (i.e. a starkit) which they need to append at the end
of their exe befure using it.
-jcw
More information about the Starkit
mailing list