On Tue, Jul 7, 2009 at 7:41 PM, Xiaofan Chen<[email protected]> wrote: > On Tue, Jul 7, 2009 at 7:36 PM, Xiaofan Chen<[email protected]> wrote: >> On Tue, Jul 7, 2009 at 7:34 PM, Zach Welch<[email protected]> wrote: >>> What happens if you add '--build=i686-pc-linux-gnu' to this? >>> >> >> I will try it. But the start of the configure output says this. >> >> mc...@ubuntu904:~/Desktop/build/openocd/build-win32-ftd2xx$ sh >> myconfig-win32-ftd2xx.sh >> configure: WARNING: If you wanted to set the --build type, don't use --host. >> If a cross compiler is detected then cross compile mode will be used. >> > > But indeed it works. So the warning should be removed. > > mc...@ubuntu904:~/Desktop/build/openocd/build-win32-ftd2xx$ ls -la > src/openocd.exe > -rwxr-xr-x 1 mcuee mcuee 3433791 2009-07-07 19:38 src/openocd.exe >
It also works now for the cross build of libusb+libftdi. Thanks for the insight. ../trunk/configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu --enable-maintainer-mode --disable-shared --enable-ft2232_libftdi mc...@ubuntu904:~/Desktop/build/openocd/build-win32-libftdi$ ls -la src/openocd.exe -rwxr-xr-x 1 mcuee mcuee 3433042 2009-07-07 19:44 src/openocd.exe -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
