This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: question about tclIndex
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: question about tclIndex
- From: Syd Polk <spolk at baritoneconsulting dot com>
- Date: Tue, 2 Oct 2001 13:57:29 -0700
- Cc: Tom Tromey <tromey at redhat dot com>, Insight List <insight at sourceware dot cygnus dot com>
On Tuesday, October 2, 2001, at 01:28 , Keith Seitz wrote:
> On 2 Oct 2001, Tom Tromey wrote:
>
>> How do I regenerate tclIndex with the new itcl?
>> The old itclsh program doesn't seem to exist.
>> At least, I don't have it.
>
I remember this problem. I had a solution in my sandbox before I left
Red Hat.
> I don't know... It works for me because I keep an installed copy of
> itclsh3.0 around.
>
> Well, I tried hacking at src/gdb/gdbtk/library/Makefile and, well, it is
> an interesting dilemma. We could change the rule to
>
> tclIndex: $(TCL) Makefile
> echo "package require Itcl 3.0; auto_mkindex `pwd` $(TCL)" | $(TCLSH)
TCLSH should be set by tclConfig.sh during tcl's configure. Or the
automake macro which found ITCL_SH can be rewhacked.
I would just say that Insight developers should have tclsh installed on
their machines; nobody else should need it.
>
> But what to use for tclsh???
>
> So now we have two options:
> 1) Assume developers have tclsh and itcl installed or let them define
> TCLSH on the command line when generating tclIndex
I vote for this. Only developers need this.
> 2) Change the build and install process to build tclIndex
Since nobody else has to generate this file, why go through the
considerable pain (I had been plugging away at doing this for a couple
of weeks before I realized the error of my ways)?
>
> Any votes?
> Keith
>
>