Thank you for the report.
The ft2232 driver is called legacy for a reason, it's not really working nicely
and the "ftdi" driver fully replaces it. Moreover, you're building against
proprietary library which makes the resulting binary non-redistributable. This
is not really common.
If you really need to support this configuration, please prepare a patch and
send it to Gerrit per the development guidelines. TIA.
(btw, we have an upstream config for cc32xx now, does it work fine for your
purposes?)
---
** [tickets:#98] Building in Cygwin with --enable-legacy-ft2232 fails**
**Status:** new
**Milestone:** 0.9.0
**Created:** Wed May 27, 2015 09:13 PM UTC by Eric Wilson
**Last Updated:** Wed May 27, 2015 09:13 PM UTC
**Owner:** nobody
Specifically I was following the instructions in the [TI CC3200 Launchpad quick
start guide](http://www.ti.com/lit/ug/swru376b/swru376b.pdf) and the build
failed. I managed to fix the build by the following:
1) re-name the ftd2xx64.dll to ftd2xx.dll in the ftd2xx/amd64 folder
2) re-name the ftd2xx.lib file so that the ./configure does not find it
3) change the references to the .lib to .dll in the ./configure (see the code
snippet)
4) copy the ftd2xx.h file into /usr/include
~~~~~~
# And calculate the LDFLAGS for the machine
case "$host_cpu" in
i?86|x86_32)
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/i386"
LIBS="$LIBS -lftd2xx"
# THIS WAS AN EDIT FROM ftd2xx.lib
f=$with_ftd2xx_win32_zipdir/i386/ftd2xx.dll
;;
amd64|x86_64)
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/amd64"
LIBS="$LIBS -lftd2xx"
# THIS WAS AN EDIT FROM ftd2xx.lib
f=$with_ftd2xx_win32_zipdir/amd64/ftd2xx.dll
;;
*)
as_fn_error $? "Unknown Win32 host cpu: $host_cpu" "$LINENO" 5
;;
esac
~~~~~~
---
Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel