Yes, that's good advice and I appreciate the guidance. However, I understand 
(and tell me if I'm wrong) static binding to be essentially equivalent to 
packaging the required lib in the same directory with the executable. So I'm 
still dealing with a dependency that I'd like to be rid of. The GNU ARM Eclipse 
tool chain appears to be able to do that but maybe theirs isn't common usage.

My main interest is in expanding the functionality of your CMSIS-DAP support. 
In theory, CMSIS-DAP just requires HID over USB functionality, which is native 
to all Windows variants. If I could, I'd like to reduce my driver dependency to 
just the native Windows drivers, minimizing the complexity of my development 
environment for now. I was looking for guidance as to which adapters I would 
need to disable in the build, to be able to remove that libusb-1.0 dependency, 
or if there was some global config flag that I hadn't discovered, to do the 
same.

Thx,
G


-----Original Message-----
From: Paul Fertser [mailto:fercer...@gmail.com] 
Sent: Tuesday, July 05, 2016 9:52 AM
To: Gifford Scott
Cc: openocd-devel@lists.sourceforge.net
Subject: Re: [OpenOCD-devel] Compiling latest build for Windows on Cygwin - 
missing libusb-1.0.dll?

On Tue, Jul 05, 2016 at 01:34:19PM +0000, Gifford Scott wrote:
> Thx, Paul. I guess I set myself up by asking the abbreviated question, 
> what am I missing... I'm aware that libusb-1.0.dll is missing and that 
> I could add libusb-1.0.dll. The long version of my question is, given 
> that I have a precompiled 0.10.0-dev binary (from GNU ARM Eclipse 
> project) that does not need libusb-1.0.dll and that appears to be able 
> to use just the native winusb.dll provided in Windows 7, what am I 
> missing from my build environment that would allow me to build a 
> similar Windows executable without the libusb-1.0.dll dependency?

Doesn't static build as I suggested work?

--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

Legal Disclaimer:
The information contained in this message may be privileged and confidential. 
It is intended to be read only by the individual or entity to whom it is 
addressed or by their designee. If the reader of this message is not the 
intended recipient, you are on notice that any distribution of this message, in 
any form, is strictly prohibited. If you have received this message in error, 
please immediately notify the sender and delete or destroy any copy of this 
message!

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to