libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFT PATCH v4 0/8] Sysroot series


From: Charles Wilson
Subject: Re: [RFT PATCH v4 0/8] Sysroot series
Date: Mon, 02 Aug 2010 14:00:47 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1

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

[Prev in Thread] Current Thread [Next in Thread]