|
From: Spencer O. <sp...@sp...> - 2010-11-03 13:17:43
|
On 02/11/2010 12:55, Laurent Gauch wrote: >> >> >/ won't it be better compile both jimtcl and openocd with single >> />/ ./configure and make, without needing to install that stuff >> />/ separatelly ? >> / >> It doesn't need to be installed, that's part of the point. >> >> Although I'm thinking about if it might make sense to package it >> anyway. I guess it's like a library. > > I tried to compile openocd under cygwin, it failed . > > What to do on cygwin, to get Jim TCL and to be able to compile openocd. > > Before providing this kind of patch, we should write doc and "how-to" > compile !!! > > OpenOCD community will receive a lot of new messages regarding > compilation errors / troubles, if we do not give any how-to compile with > external JIM TCL. > The issue is caused because jim will install into /usr/local/lib. cygwin and mingw will only look in /usr/lib - quick solution is to manually move the various files. You may also have todo this for the include files aswell. Tweaking the install path is the better solution,eg. ./configure --with-jim-ext="nvp" --prefix=/usr I am working on a updated build that will build jimtcl inline, so this will solve all problems. Cheers Spen |