This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: ITA: gcc-mingw-* gcc-3 -mno-cygwin support packages; ITP: mingw-binutils/mingw-gcc-* cross compiler
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Mon, 24 Jan 2011 20:09:36 -0600
- Subject: Re: ITA: gcc-mingw-* gcc-3 -mno-cygwin support packages; ITP: mingw-binutils/mingw-gcc-* cross compiler
- References: <4CEC401E.4060506@cwilson.fastmail.fm> <1295843772.348.11.camel@YAAKOV04> <4D3DAEDC.90200@cwilson.fastmail.fm>
On Mon, 2011-01-24 at 11:54 -0500, Charles Wilson wrote:
> Err...why?
>
> exec_prefix=/usr/i686-pc-mingw32/sys-root/mingw
> sharedlibdir=$(exec_prefix)/bin
pkg-config does not substitute $(parenthesis), only ${curly_brackets}:
$ PKG_CONFIG_LIBDIR=/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig \
pkg-config --libs zlib
-L/usr/i686-pc-mingw32/sys-root/mingw/lib -L\$\(exec_prefix\)/bin -lz
gcc (or libtool?) doesn't like this, as I found out when I updated my
mingw-glib2.0.
Yaakov