Looks like I jumped the gun: this does not entirely fix my problem.  The "file" 
command is now present:

        > info commands file
        file

but the "glob" and "binary" commands are still missing:

        > info commands glob
        # no output
        > info commands binary
        # no output

Note that both these extensions are pure tcl extensions.


This is the relevant part from my modified configure.ac:

AS_IF([test "x$use_internal_jimtcl" = "xyes"], [
  AS_IF([test -f "$srcdir/jimtcl/configure.ac"], [
    AX_CONFIG_SUBDIR_OPTION([jimtcl], [--disable-install-jim 
--with-ext="eventloop array clock regexp stdlib tclcompat aio binary exec file 
glob" --without-ext="default"])
  ], [
    AC_MSG_ERROR([jimtcl not found, run git submodule init and git submodule 
update.])
  ])
])

I reran bootstrap after modifying the file.

The jimtcl build directory does appear to have built and called the 
initialization code for both extensions, but neither seems to be present.



> -----Original Message-----
> From: Frazier, Mitch [AUTOSOL/FLMC/US]
> Sent: Monday, February 27, 2017 9:15 AM
> To: 'Paul Fertser'
> Cc: [email protected]
> Subject: RE: [OpenOCD-devel] missing tcl commands in 0.10.0
> 
> I built a new openocd exe with the changes from your patch, and that
> does indeed fix the problem for me.
> 
> > -----Original Message-----
> > From: Paul Fertser [mailto:[email protected]]
> > Sent: Saturday, February 18, 2017 3:50 AM
> > To: Frazier, Mitch [AUTOSOL/FLMC/US]
> > Cc: [email protected]
> > Subject: Re: [OpenOCD-devel] missing tcl commands in 0.10.0
> >
> > On Wed, Feb 15, 2017 at 08:07:00PM +0000, [email protected]
> > wrote:
> > > Looking a bit closer, it appears there are a number of missing
> > > commands which will probably cause problems in my existing scripts.
> >
> > Please see if http://openocd.zylin.com/4001 covers your usecases.
> >
> > --
> > Be free, use free (http://www.gnu.org/philosophy/free-sw.html)
> > software!
> > mailto:[email protected]


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to