Can you send the link to this "pkg-config" you are referring to?

By default directory are you talking about putting the .h and .a in these 
locations?
\cygwin\usr\i686-pc-mingw32\sys-root\mingw\include
\cygwin\home\libftdi-0.19\src\.libs
\cygwin\usr\i686-pc-mingw32\sys-root\mingw\lib. 

Thanks,
Mindy


-----Original Message-----
From: Xiaofan Chen [mailto:xiaof...@gmail.com] 
Sent: Sunday, April 07, 2013 5:48 PM
To: Mindy Beseler
Cc: openocd-devel@lists.sourceforge.net
Subject: Re: libusb-1.0 is not being pulled inwith -enable-ftdi

On Mon, Apr 8, 2013 at 1:45 AM, Mindy Beseler <mindy.bese...@imgtec.com> wrote:
> I pulled the latest source from git (rather than use my 0.6.1 modified 
> code source) and even with the libusb-1.0 directory under 
> <openocd>\src

That will not help at all.

> the configure is using usblib-0.1.  Is there some other directory 
> needed or some other setup I need to do for configure to correctly pull in 
> usblib-1.0?
>
> This is the configure command I'm using:
> ./configure --disable-werror --enable-ftdi --build=i686-pc-cygwin 
> --host=i686-pc-mingw32

If your libusbx header and libraries are not in the default directory and you 
are not using pkg-config, then you have to manually set the following two flags 
to point the build system to libusbx.

  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>


--
Xiaofan


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to