On Mon, Apr 8, 2013 at 9:46 PM, Mindy Beseler <mindy.bese...@imgtec.com> wrote:
> Can you send the link to this "pkg-config" you are referring to?
http://www.freedesktop.org/wiki/Software/pkg-config

If you are using Cygwin, it already has pkg-config already.
But the problem is that if you use Cygwin and cross build
openOCD using Cygwin's MinGW compiler tool chain, then
there are some difficulties to use pkg-config.

It may be easier to use native MinGW/MSys. You can
download them from MinGW.org's Sourceforge site.
http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/

MinGW does not come with pkg-config, but you can
use pkg-config-lite from here.
http://sourceforge.net/projects/pkgconfiglite/

> By default directory are you talking about putting the .h and .a
> in these locations?
>
> \cygwin\usr\i686-pc-mingw32\sys-root\mingw\include
Yes if you use Cygwin.
>
> \cygwin\home\libftdi-0.19\src\.libs
No. This is your own directory, not the toolchain's
include and lib directory.

BTW, libftdi-0.20 is the latest 0.x released version.
OpenOCD does not yet support libftdi-1.0 as of now.
And you do not need libftdi-0.x if you only need to
build for the mpsse based ftdi driver. It uses libusb-1.0
and not libftdi.

> \cygwin\usr\i686-pc-mingw32\sys-root\mingw\lib.
Yes.

It is better that you use pkg-config. But I am not
an expert on using pkg-config under a cross build
environment.

-- 
Xiaofan

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to