Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclConfig.sh generation from makefile.vc

Closed / Accepted909911ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-03-04 16:36:01
This patch fixes makefile.vc to generate a tclConfig.sh
file.
patthoytsplain2004-03-04 23:36:02
File Added - 78940: tclConfig.vc.patch
patthoytsplain2004-05-13 22:14:11
Logged In: YES 
user_id=202636

Reassigning as DG is really the makefile.vc person.
davygrvyplain2004-05-14 08:14:12
Logged In: YES 
user_id=7549

This is an interesting marriage of concepts.  this might need 
to be built for install rather than build.  If one builds all 
possible flavors of Tcl: threaded, debug, static, memdbg, etc..
tclConfig.sh is built to the same spot each time overwriting 
what was done last.  The same would be true if we generated 
it for install assuming one places tcl85.lib (the import) in the 
same place as tcl85s.lib (the static), etc.

The use of different names per flavor was cosen to avoid 
this.  I don't what the resolve is.  tclConfigs.sh and 
tclConfigt.sh?
dkfplain2004-05-14 16:40:30
Logged In: YES 
user_id=79902

The tclConfig.sh file must always have the same name as
that's the only way you can bootstrap the locating of the
configuration.  If people insist on putting different styles
of build in the same dir it will break, but that's just
tough since the other way round is really fscked up by design.

The sensible thing is for people wanting to keep multiple
installations of the same version of Tcl/Tk to do so by
keeping them in different directory structures (e.g.
c:/tcl/8.4static, c:/tcl/8.4threaded, etc)
patthoytsplain2004-05-14 20:04:36
Logged In: YES 
user_id=202636

Personally I think all these values ought to be embedded in
tclsh as done for Perl. However...

the intent is to ensure that having built and installed tcl
using nmake/cl that a user can expect to build TEA projects
using msys + cl. For that we need a valid tclConfig.sh - one
that matches the current installation (normally the release,
dynamic, non-threaded).

IMO if the file is slightly wrong I'm not to bothered. Its
easy to fix if it's just removing a t suffix from a few
names. However converting tclConfig.sh.in into something
useful is more work that I imaging most people can be
bothered with. In other words, I'd rather have a slightly
broken version than no version.
patthoytsplain2004-05-18 20:11:36
Logged In: YES 
user_id=202636

So can we add this in then?
dkfplain2004-05-18 21:48:02
Logged In: YES 
user_id=79902

Revisit TIP#59?
davygrvyplain2004-05-19 03:07:06
Logged In: YES 
user_id=7549

Added to HEAD.
patthoyts Closed ticket [909911ffff]. [History diff]2004-05-20 07:52:08
Log in (anonymous is fine) to add a comment.

Attachments: