On 14/07/2011, at 7:19 PM, Spencer Oliver wrote: > On 13 July 2011 22:53, Steve Bennett <ste...@workware.net.au> wrote: >> >> Hi Eric, >> >> Thanks for the report. >> This is caused by a couple of things. >> >> Firstly, the version of jimtcl used by openocd isn't fully functional >> when built under mingw. It's fine for openocd, but things like backslashes >> in paths and exec aren't handled properly. So the built jimsh isn't suitable >> for configure/autosetup. (Not that the latest version of jimtcl adds better >> support for mingw, but that version is not yet used by openocd) >> >> But, that wouldn't be a problem except for... >> >> Secondly, when openocd installs it also installs jimtcl. It really shouldn't. >> It uses jimtcl internally and doesn't need anything installed. >> > > I have looked into this and there is no easy way when using automake,
Really? Then maybe we have the wrong approach of treating jimtcl as a subproject. Maybe it should be simply be a subdirectory where configure and make are run and the directory simply added to the search path for headers and libraries. > this is what libtool is for. I don't know how libtool relates to this. > This is why i mentioned before about adding a configure option to > jimtcl, something like --noinstall It seems weird to have a configure option which causes 'make install' to not install. Seems like it will just confuse other users of jimtcl. > > The only other solution is to override the jimtcl make using > GNUmakefile, but that is assuming everybody uses GNU make. > > Cheers > Spen > -- µWeb: Embedded Web Framework - http://uweb.workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development