From: Uwe Hermann Date: Mon, 4 Aug 2014 14:44:31 +0000 (+0200) Subject: sigrok-cross-mingw: i686-pc-mingw32.static -> i686-w64-mingw32.static. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7eaac9545b57fe99e958b4ad4983abc23d41c143;p=sigrok-util.git sigrok-cross-mingw: i686-pc-mingw32.static -> i686-w64-mingw32.static. We're switching from MinGW (i686-pc-mingw32.static in MXE)... http://mingw.org/ ...to MinGW-w64 (i686-w64-mingw32.static in MXE): http://mingw-w64.sourceforge.net/ The latter is a fork which nowadays seems to be more active and also to have a more complete set of win32 API headers and libs. History: http://sourceforge.net/p/mingw-w64/wiki2/History/ Among other things this is required for certain API calls now used in recent libserialport versions (probably will be required for various other sigrok-related projects later as well). --- diff --git a/cross-compile/mingw/sigrok-cross-mingw b/cross-compile/mingw/sigrok-cross-mingw index 8d0cdce..6bf521c 100755 --- a/cross-compile/mingw/sigrok-cross-mingw +++ b/cross-compile/mingw/sigrok-cross-mingw @@ -50,7 +50,7 @@ GIT_CLONE="git clone --depth=1" # We need to find tools in the toolchain. export PATH=$MXE/usr/bin:$PATH -TOOLCHAIN_TRIPLET="i686-pc-mingw32.static" +TOOLCHAIN_TRIPLET="i686-w64-mingw32.static" P="$PREFIX/lib/pkgconfig" P2="$MXE/usr/$TOOLCHAIN_TRIPLET/lib/pkgconfig" @@ -59,7 +59,7 @@ CM="-DCMAKE_TOOLCHAIN_FILE=$MXE/usr/$TOOLCHAIN_TRIPLET/share/cmake/mxe-conf.cmak L="--disable-shared --enable-static" DDK="$MXE/usr/$TOOLCHAIN_TRIPLET/include/ddk" -export PKG_CONFIG_PATH_i686_pc_mingw32_static="$P:$P2" +export PKG_CONFIG_PATH_i686_w64_mingw32_static="$P:$P2" # Remove build directory contents (if any) and create a new build dir. rm -rf $BUILDDIR