You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Pat Thoyts <pa...@zsplat.freeserve.co.uk> on 2004/10/03 02:03:41 UTC

Re: Here's why LDFLAGS, AR, LIBS, and VERSION aren't found

-----BEGIN PGP SIGNED MESSAGE-----

Karl Lehenbauer wrote:
| On Sep 30, 2004, at 7:53 AM, David N. Welton wrote:
|
|> Stubs are for extensions, and Rivet itself isn't one, or so the core
|> folks tell me...
|
|
| mod_rivet.so isn't, but librivet.so and librivetparser.so are.

In fact it is possible to utilize the stubs code to make an application
version agnostic. See http://mini.net/tcl/2074 for some details on this
but the basic plan is you try to dynamically load a tcl shared library,
call Tcl_CreateInterp and then Tcl_InitStubs. The rest of your
application got compiled to use the stubs table so it doesnt matter if
you got tcl 8.5, 8.4....

I have a demo someplace.

Pat Thoyts
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQV9B3WB90JXwhOSJAQElKAP/WbUpx2F5N4vU6ZbL5u8JRY/DQbhfkbBq
cCWTJ/Q3wjIVLVG8ARKtiKuhmsqAsgSDhYA49GKPeMvvCnBrB7qSKWdYPfeWb5aP
9Dbk3FOlW+EgyCbJQ3uFp2viBy5YDbhUMnoMhVwYZd/wZECMfyr14s0wjN031pwm
c9bCMLjUw40=
=/GYs
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org