Xiaofan Chen wrote: > git clone git://developer.intra2net.com/libftdi Suggest:
git clone -b libftdi-0.x git://developer.intra2net.com/libftdi ..to directly checkout the correct branch.. > git checkout -b libftdi-0.x origin/libftdi-0.x > git pull ..meaning no need for the above two git commands. > mkdir build > cd build The build subdirectory is not strictly required, but it is nice for cleaning up and starting over. The method can also be used with many autotools packages: mkdir build && cd build && ../configure > nano ../Toolchain-mingw32.cmake To automate the above step, suggest: sed -i -e "s,i386-mingw32msvc,${CROSS}," \ -e s,/opt/cross,/usr, \ -e "/CMAKE_CXX_COMPILER/aSET(CMAKE_RC_COMPILER ${CROSS}-windres)" \ ../Toolchain-mingw32.cmake > ++++ output +++ > /tmp/x-urjtag/bin: > total 4512 > -rwxr-xr-x 1 mcuee mcuee 2048791 Oct 13 10:58 bsdl2jtag.exe > -rwxr-xr-x 1 mcuee mcuee 2060121 Oct 13 10:58 jtag.exe > -rw-r--r-- 1 mcuee mcuee 55056 Oct 13 10:57 libftdi.a > -rwxr-xr-x 1 mcuee mcuee 65211 Oct 13 10:56 libftdi.dll > -rw-r--r-- 1 mcuee mcuee 35608 Oct 13 10:56 libftdi.dll.a > -rwxr-xr-x 1 mcuee mcuee 348150 Oct 13 10:52 libusb-1.0.dll Great! I'm unable to reproduce your success with the libftdi build, but at least it works for you. //Peter ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel