Re: creating stand-alone extended tclsh
- From: wbp@xxxxxxxxxxxxxxxx (Will Parsons)
- Date: 30 Apr 2007 14:11:05 GMT
Gerald W. Lester wrote:
Will Parsons wrote:
I would like to create a tclsh with application-specific extensions. The
information on creating Tcl extensions that I have been able to obtain by
googling seems to be oriented toward creating loadable libraries, which is
not what I want - I need to create a stand-alone tclsh that incorporates
an interface to a static C application library. Any advice on how to go
about this starting from just the Tcl source distribution? (I've looked
at the sampleextension, but it only seems to create an extension library,
not an independent shell.)
There is very little reason to do what you want since loadable extensions
became possible, but is is easily doable.
So I'd like to ask why you want to do this?
Making shared libraries isn't supported on the platform I'm interested in
(QNX4), so the static linkage is due to necessity.
I'd suggest looking at how TclKits are created and also reading tehI'll take a look at TclKits. I used to have a copy of Ousterhout's book,
appropriate sections of Dr. Ousterhout's book.
but it went missing several years ago, and since it's quite a bit out of
date now, I don't relish purchasing another copy.
- Will
.
- References:
- creating stand-alone extended tclsh
- From: Will Parsons
- Re: creating stand-alone extended tclsh
- From: Gerald W. Lester
- creating stand-alone extended tclsh
- Prev by Date: Please help me with some perl...
- Next by Date: Re: creating stand-alone extended tclsh
- Previous by thread: Re: creating stand-alone extended tclsh
- Next by thread: Re: creating stand-alone extended tclsh
- Index(es):
Relevant Pages
|