Vivien Giraud wrote: > I need it to be have libftdi and libusb static Just a side note: Keep in mind that libusb is licensed under LGPL, and OpenOCD under GPL, so you can not legally distribute only a statically linked binary.
I assume that you are working on making a custom tool for a custom debug interface. It seems to me that the current approach is generating many more problems than it solves. I urge you to shift focus to the ftdi driver or possibly the mpsse intermediate layer to implement your own driver on top of. Both mpsse and ftdi by Andreas are available in Gerrit. Finally, manually building any package that uses autotools, and in particular with some customizations, absoultely requires working the way autotools wants. Note that unless a project which uses autotools has added explicit support for using statically linked versions of dependency libraries it may not be possible at all, and you would have to do the development to add such support to the upper level project (OpenOCD in this case). This is not a very suitable project for learning autotools. Please explain what you want to accomplish. It's possible that you can get suggestions for a simple solution which is also good. //Peter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel