On 8/2/2010 1:55 PM, Ralf Wildenhues wrote:
* Charles Wilson wrote on Sun, Aug 01, 2010 at 10:04:16PM CEST:
support, use --prefix=/mingw + DESTDIR=/the-sysroot.

What about the w32 users that use --prefix=C:/mingw and then cannot use
DESTDIR because that will not concatenate?

According to the GNU Standards, you can always do this after building:

make prefix=/new/destdir/old-prefix

And -- supposedly -- "/new/destdir" is not supposed to appear anywhere in the installed files. So, if you're doing a cross build for a mingw $host, you can do this:

configure --prefix=C:/MinGW && make
make install --prefix=/tmp/dest/MinGW

and create your installable tarball from /tmp/dest.

That's kind of the whole point of this sysroot idea; you don't want /usr/${triple}/sys-root/ to show up in the .la files, the foo-config scripts, or the pkg-config files. All of my tests for mingw-$host have been done in the way described.

--
Chuck


Reply via email to