Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3BA0CBCF.87442CF6@yahoo.com> Date: Thu, 13 Sep 2001 11:07:59 -0400 From: Earnie Boyd X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin-developers AT Cygwin DOT Com Subject: Re: the w32api path change References: <3BA0A2F1 DOT FCD3A766 AT yahoo DOT com> <20010913104107 DOT B13198 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Christopher Faylor wrote: > > On Thu, Sep 13, 2001 at 08:13:37AM -0400, Earnie Boyd wrote: > >Robert Collins wrote: > >> > >> Earnie.. It really does break stuff, even for local installs, > >> > >> ie a prefix of /usr installs insto /usr/usr > >> > >> Is there any reason the change can't be simply backed out, and when a > >> better alternative to achieve your goal arises put that into place? > >> > > > >I've committed the attached patch that should help. This isn't perfect > >yet and will change in the future but it should help both this case as > >well as the cross-compile case. The case that doesn't work as expected > >is the `make install prefix=/non/configured/prefix' in which case you > >get /non/configured/prefix/usr/include/w32api and > >/non/configure/prefix/usr/lib/w32api. > > > >Comments/complaints/flames welcome. > > I really don't understand. It wasn't broken before. Why are you > something that wasn't broken? > > If you explain what you're trying to do it might help. > > Putting things in /usr/usr/include and /usr/usr/lib is not ever going to > be a proper solution. > The current patch doesn't do this unless you `configure --prefix=/foo' and `make install prefix=/usr'. As to why, I'm trying to accommodate the dist, srcdist and bindist targets so that `make dist' when target = 'cygwin' packages for /usr/include/w32api and /usr/lib/w32api while all other targets package in /usr/include and /usr/lib. As I said, the current patch should work until I look at it further this evening. I did try it, except for cross-compile and make install did install into /usr/include not /usr/usr/include. Earnie _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com