Your question is not that clear to me.
You seem to be asking "how can I use/link to a DLL?".
Is that correct?
Usually you'll need an import library to link to unless you're using completely
dynamic loading and resolution of API entry points.
But ultimately this is not really an OpenOCD specific question/issue as far as
I can see and is covered adequately elsewhere if you do a little
searching/research.
Hope this helps.
On Jay <[email protected]>, 10 Jul 2018 12:21 am wrote:
Greetings,
I'm trying to add support for a new JTAG/SWD interface adapter called EUD
(embedded usb debugger) for openOCD. I'm adding a source file (eud.c) in
"src/jtag/drivers/" folder. I'm using proprietary "headers" and supplied DLL
file to link with my source.
Here is the topology I have.
src/jtag/drivers/
eud.c //my source file
eud/ //folder containing headers and DLL
*.h
eud.dll
I'm looking for if what kind of makefile changes I'd need to compile and link
with this DLL file. Can someone please help me or point me to any example
makefile(s) setup?
Thanks,
Jay
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel