I compiled the latest development tree on a fresh install of cygwin 1.7 +
the FTDI driver on XP 32 bit, and I haven't seen I haven't seen the issue
about the ftd2xx.h file:
I used the following for configure:
$ ./configure --enable-maintainer-mode --disable-werror --disable-shared
--enable-ft2232_ftd2xx --with-ftd2xx-win32-zipdir=../ftd2xx/ CC="gcc-3
-mno-cygwin"

FYI, I had to use gcc-3 as using the default gcc (gcc v4) in cygwin produced
the error:
"gcc: The -mno-cygwin flag has been removed; use a mingw-targeted
cross-compiler."
This is likely to become an issue when gcc v4 becomes default in cygwin.

Until other people can report if they've seen the issue, my advice would be
to add a -I option to CC= to specify the include directory for ftd2xx.h is
located.
Can you test with the following and see if it works better:
$ ./configure --enable-maintainer-mode --disable-werror --disable-shared
--enable-ft2232_ftd2xx --with-ftd2xx-win32-zipdir=../ftd2xx/ CC="gcc
-mno-cygwin -I../ftd2xx"
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to