Downloaded pixman-0.28.0 from official site Created i586-mingw-ar: #!/bin/bash # ############################################################################## # (c) Eric Lassauge - December 2012 # # # ############################################################################## # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see # ############################################################################## # Complete script for MinGW ar wrapper from cygwin: change POSIX path to windows path # Needs: cygpath #Configure to where you installed MinGW mingwbase=/cygdrive/d/MinGW mingwroot=`cygpath -w ${mingwbase}` dollarstar="" # Parse the gcc flags to change all file pathes while [ $# -ne 0 ]; do case "$1" in *) if [ -f "$1" ] then param=`cygpath -w $1` dollarstar="${dollarstar} ${param}" else dollarstar="${dollarstar} $1" fi ;; esac shift done # remove spurious ^M dollarstar=`echo "${dollarstar}" | sed -e 's/ //g'` # echo "# Calling MinGW compiler: gcc ${dollarstar}" # Add the path to mingw tools export PATH=${mingwbase}/bin:$PATH ${mingwbase}/bin/ar ${dollarstar} WARNING: I had to update all "wrong" pkgconfig lib/*.pc files for the correct prefix! Configure: PKG_CONFIG_PATH=/cygdrive/d/MinGW/lib/pkgconfig ./configure --host=i586-mingw32 --disable-silent-rules --with-sysroot=/cygdrive/d/MinGW --prefix=/cygdrive/d/MinGW --disable-shared