On Thu, Jul 10, 2008 at 8:54 PM, Michael Fischer <[EMAIL PROTECTED]> wrote:
> Hello,
>
> with the trunk 785 I got the following error message:
>
> C:\Temp\LPC2148Test>openocd -f .\prj\jtagkey.cfg
> Open On-Chip Debugger 1.0 (2008-07-10-20:47) svn:
> $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
> Error:   openocd.c:577 initJim2(): Can not find tcl/commands.tcl - check
> install
> ation
>
> I could imagine that there was a note that the scripting makes only
> sense for the developers and not the normal users. But now it looks
> that the tcl feature and directories must installed too.
>
> In this case it will break the older functionality before the script
> feature was added.

There are two seperate problems here:

1. The directory structure decided by "make install" must be respected,
otherwise e.g. the target library is broken.

2. commands.tcl requires (1), but we *could* embed it into the
executable instead but that addresses the symptom and not
the disease, it will only help us short-term.

The *real* fix is #1, which also will make target libraries work
correctly.

Are you modifying the directory layout from "make install"?

There is special code for Windows w.r.t. finding target libs &
commands.tcl, but perhaps that code needs a bit of work?


-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to