filesystem patch?

Richard W.M. Jones rjones at redhat.com
Sat Dec 6 14:35:46 UTC 2008


I added this patch, except that I removed mingw32-make.  This command
didn't expand %{name}, %{version} etc. in the make parameters.  In
fact, this command can never work because correct values for these
parameters cannot be known by an independently running mingw32-make
command.

Rich.

$ cat > configure 
#!/bin/sh -

echo args = "$@"
printenv | sort

$ chmod 0755 configure

$ mingw32-configure a b c
args = --cache-file=mingw32-config.cache --host=i686-pc-mingw32 --build=x86_64-unknown-linux-gnu --target=i686-pc-mingw32 --prefix=/usr/i686-pc-mingw32/sys-root/mingw --exec-prefix=/usr/i686-pc-mingw32/sys-root/mingw --bindir=/usr/i686-pc-mingw32/sys-root/mingw/bin --sbindir=/usr/i686-pc-mingw32/sys-root/mingw/sbin --sysconfdir=/usr/i686-pc-mingw32/sys-root/mingw/etc --datadir=/usr/i686-pc-mingw32/sys-root/mingw/share --includedir=/usr/i686-pc-mingw32/sys-root/mingw/include --libdir=/usr/i686-pc-mingw32/sys-root/mingw/lib --libexecdir=/usr/i686-pc-mingw32/sys-root/mingw/libexec --localstatedir=/usr/i686-pc-mingw32/sys-root/mingw/var --sharedstatedir=/usr/i686-pc-mingw32/sys-root/mingw/com --mandir=/usr/i686-pc-mingw32/sys-root/mingw/share/man --infodir=/usr/i686-pc-mingw32/sys-root/mingw/share/info a b c
ADDR2LINE=/usr/bin/i686-pc-mingw32-addr2line
AR=/usr/bin/i686-pc-mingw32-ar
AS=/usr/bin/i686-pc-mingw32-as
CC=i686-pc-mingw32-gcc
CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
CPP=/usr/bin/i686-pc-mingw32-cpp
CURL_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/curl-config
CXXFILT=/usr/bin/i686-pc-mingw32-c++filt
CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
CXX=/usr/bin/i686-pc-mingw32-c++
DISPLAY=localhost:10.0
DLLTOOL=/usr/bin/i686-pc-mingw32-dlltool
DLLWRAP=/usr/bin/i686-pc-mingw32-dllwrap
FREETYPE_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/freetype-config
G_BROKEN_FILENAMES=1
GCCBUG=/usr/bin/i686-pc-mingw32-gccbug
GCC=/usr/bin/i686-pc-mingw32-gcc
GCOV=/usr/bin/i686-pc-mingw32-gcov
GPG_ERROR_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/gpg-error-config
GPROF=/usr/bin/i686-pc-mingw32-gprof
GSL_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/gsl-config
GXX=/usr/bin/i686-pc-mingw32-g++
HISTSIZE=1000
HOST_CC=gcc
HOSTNAME=intel-mb
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LD=/usr/bin/i686-pc-mingw32-ld
LESSOPEN=|/usr/bin/lesspipe.sh %s
LIBGCRYPT_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/libgcrypt-config
LIBGNUTLS_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-config
LIBGNUTLS_EXTRA_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-extra-config
LIBPNG12_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/libpng12-config
LIBPNG_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/libpng-config
NM=/usr/bin/i686-pc-mingw32-nm
OBJCOPY=/usr/bin/i686-pc-mingw32-objcopy
OBJDUMP=/usr/bin/i686-pc-mingw32-objdump
PKG_CONFIG_PATH=/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig
PWD=/tmp/t
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
QTLIB=/usr/lib64/qt-3.3/lib
RANLIB=/usr/bin/i686-pc-mingw32-ranlib
READELF=/usr/bin/i686-pc-mingw32-readelf
SDL_CONFIG=/usr/i686-pc-mingw32/sys-root/mingw/bin/sdl-config
SELINUX_LEVEL_REQUESTED=
SELINUX_ROLE_REQUESTED=
SELINUX_USE_CURRENT_RANGE=
SHELL=/bin/bash
SHLVL=3
SIZE=/usr/bin/i686-pc-mingw32-size



More information about the mingw mailing list