This doesn't really fix the problem. For cygwin, the path needs to be fixed up this way. If someone wants to work up a patch that handles both cases, I'll gladly apply it.

Rick


On Jan 12, 2009, at 8:22 AM, Francois Lorrain wrote:

Hello,

This is a different issue which prevents me from building openocd with
the mingw32-gcc compiler on cygwin.
without this patch, the ftd2xx library is accessed using the cygwin
path /cygwin/c/ftdi-2.04.06 but mingw32-gcc does not understand cygwin
path.

Regards

Francois



Index: configure.in
===================================================================
--- configure.in        (revision 1312)
+++ configure.in        (working copy)
@@ -111,7 +111,7 @@
  # option present
  if test -d $with_ftd2xx_win32_zipdir
  then
-       with_ftd2xx_win32_zipdir=`cd $with_ftd2xx_win32_zipdir && pwd`
+#      with_ftd2xx_win32_zipdir=`cd $with_ftd2xx_win32_zipdir && pwd`
AC_MSG_NOTICE([Using: ftdichip.com library: $with_ftd2xx_win32_zipdir])
  else
        AC_MSG_ERROR([Parameter to --with-ftd2xx-win32-zipdir is not a dir:
$with_ftd2xx_win32_zipdir])
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

--
Rick Altherr
[email protected]

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
 -- Unsigned



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to