On Mon, 15 Jun 2009, Freddie Chopin wrote:

> Nicolas Pitre pisze:
> > If libftd2xx is not statically
> > linked, or even not distributed along with the compiled OpenOCD binary, then
> > the case against it is highly arguable and far from being a black and white
> > picture but rather a large gray spot.
> 
> That's the problem, because OpenOCD compiled with --enable-ft2232_ftd2xx
> won't start if there is no ftd2xx.dll library somewhere. This solution is not
> good, because when one downloads a complete package, one expects it to "just
> work". PPL who use wiggler and have no idea about FTDI would than be forced to
> learn about that, find the library somewhere and install (copy) it into the
> system.

That's a technical issue with an easy solution.  I wouldn't know how to 
go about it on Windows though, but on Linux this is only a matter of 
using dlopen() and a couple function pointers.

Zach Welch was looking forward to make many parts of OpenOCD dynamically 
loadable.  Maybe the FTDI support would be the best place to start with.


Nicolas
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to