libftdi1-1.0 has been formally released early this year.
libftdi-0.x series (latest is libftdi-0.20) will no longer
being actively developed other than critical bug fix.
So maybe it is good to start to support libftdi1 and
fall backs to libftdi-0.x only if libftdi1 is not found.

Ref:
http://www.intra2net.com/en/developer/libftdi/
http://developer.intra2net.com/mailarchive/html/libftdi/2013/msg00171.html

One of the main change is the rename of
pkconfig, library .so etc. files to "libftdi1".

Eg: header file is now libftdi1\ftdi.h

mymacmini:lib xiaofanc$ pkg-config --cflags libftdi1
-I/usr/local/Cellar/libftdi/HEAD/include/libftdi1
-I/usr/local/Cellar/libusb/HEAD/include/libusb-1.0
mymacmini:lib xiaofanc$ pkg-config --libs libftdi1
-L/usr/local/Cellar/libftdi/HEAD/lib
-L/usr/local/Cellar/libusb/HEAD/lib -lftdi1 -lusb-1.0

mymacmini:jimtcl xiaofanc$ libftdi1-config --libs
-L/usr/local/Cellar/libftdi/HEAD/lib -lftdi1
mymacmini:jimtcl xiaofanc$ libftdi1-config --cflags
-I/usr/local/Cellar/libftdi/HEAD/include/libftdi1

-- 
Xiaofan

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to