Hi,
as OpenFacts on Berlios seems to be down, I wonder
which options to choose for compiling OpenOCD under
Win32 MingW with FTDI driver.
The version I compiled last time didn’t work as
the on from Yagarto. So I wonder if there is something
special to consider.
Regards,
Joerg
mifi
2
Hello Joerg,
I have both, cygwin and MinGW installed, and compile from cygwin:
export PATH=/cygdrive/c/MinGW/bin/:$PATH
./bootstrap
./configure --enable-ft2232_ftd2xx --with-ftd2xx=D:/Projekte/Windows/OpenOCD/FTD2XX --host=mingw32
make all
I hope this will help you.
Best regards,
Michael
Thanks Michael,
but after I updated to the newest SVN version I
cannot build at all as autoconf complains about
a missing definition of AS_HELP_STRING in configure.in.
Some googling showed up that MSYS comes with quite old autotools.
So I think I will have to update.
Or compile under Linux (for Win32?).
ntfreak
4
or you can build for mingw under cygwin as follows:
$ ./configure --enable-parport --enable-amtjtagaccel --enable-ft2232_ftd2xx --with-ftd2xx=/home/spen/openocd/ftdi CC=“gcc -mno-cygwin” CFLAGS=“-O0 -g -Wall” LDFLAGS=“-Wl,-Map=openocd.map,–cref”
make
The CFLAGS and LDFLAGS are purely for debugging and can be removed for most people.
Cheers
Spen