On Mon, Jun 13, 2011 at 8:45 PM, Liam Redmond (Rock Software) <liamredm...@rock-software.com> wrote: > 1) Anyone else attempting to build using mingw64 and have any gems of > wisdom? > 2) Is it possible to build without Jim so I can come back to this problem > another day? > > Perhaps I need to do a lot of reconfiguring of my build environment for the > latest version but I though I would ask anyhow in case anyone is building on > Windows x64 and has any advice. >
Probably you want to update your MinGW-w64 installation. Under Windows, TDM64 is the preferred one to use or you can use Cygwin's MinGW-w64 cross compiler. Another way is to use Linux to cross compile. I just did a cross compile under Cygwin (Windows 7) and the build process is fine. mcuee@mcuee-PC-Win7 /cygdrive/d/work/openocd/openocd/build_libftdi $ ../configure --enable-maintainer-mode --host=x86_64-w64-mingw32 --enable-ft22 32_libftdi --enable-jlink $ make $ ls -la openocd.exe -rwxr-xr-x+ 1 mcuee None 7042886 Jun 13 21:47 openocd.exe mcuee@mcuee-PC-Win7 /cygdrive/d/work/openocd/openocd/build_libftdi/src $ x86_64-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=x86_64-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-w64-mingw32/4.5.2/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: /home/user/mingw64/mingw64-x86_64-gcc-4.5.2-1/src/gcc-4.5.2/con figure --srcdir=/home/user/mingw64/mingw64-x86_64-gcc-4.5.2-1/src/gcc-4.5.2 --pr efix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir= /usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootd ir=/usr/share --docdir=/usr/share/doc/mingw64-x86_64-gcc -C --build=i686-pc-cygw in --host=i686-pc-cygwin --target=x86_64-w64-mingw32 --with-sysroot=/usr/x86_64- w64-mingw32/sys-root --with-build-sysroot=/usr/x86_64-w64-mingw32/sys-root --dis able-multilib --disable-win32-registry --enable-languages=c,ada,c++,fortran,objc ,obj-c++ --enable-fully-dynamic-strings --enable-libgomp --enable-sjlj-exception s --enable-version-specific-runtime-libs --with-dwarf2 --enable-decimal-float=bi d --enable-lto Thread model: win32 gcc version 4.5.2 (GCC) -- Xiaofan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development