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: <3B9F8A60.70D9511C@yahoo.com> Date: Wed, 12 Sep 2001 12:16:32 -0400 From: Earnie Boyd Reply-To: CD List 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: Makefile.in patch -- why? References: <20010912113856 DOT A21124 AT redhat DOT com> <20010912115206 DOT A17317 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Let's see, are you saying that `make install prefix=`pwd`/nstl' should create nstl/include nstl/lib instead of nstl/usr/include/w32api nstl/usr/lib/w32api when the $(target_alias) = 'cygwin'? Before my changes it would create nstl/include/w32api nstl/lib/w32api is this what you think it still should be? Since it is target specific I believe creating nst/usr/include/w32api, etc. is correct. All other targets should create nstl/include, etc. How is it "screwed up" for cross-compilation? Earnie. Christopher Faylor wrote: > > On Wed, Sep 12, 2001 at 11:38:56AM -0400, Christopher Faylor wrote: > >Earnie, I don't see how the below change can possibly be right. > > > >I've sent out my configure line many times in the past. If continue to use > >it now, I end up with a /usr/usr/include and a /usr/usr/lib directory. > > > >Without a prefix, I assume that I'd end up with something like .../i686-pc-cygwin/usr/lib > >rather than .../i686-pc-cygwin/lib . > > Sorry. I should have checked before I made this assertion. My build > script overrides tooldir on the command line so it still works. > > A default configure will still be screwed up though. I've verified that > in a cross-compilation situation. > > cgf > > >Can you revert this change, please? I think that you should do whatever needs > >doing on the command line. > > > >cgf > > > >Index: Makefile.in > >=================================================================== > >RCS file: /cvs/uberbaum/winsup/w32api/lib/Makefile.in,v > >retrieving revision 1.12 > >retrieving revision 1.13 > >diff -p -r1.12 -r1.13 > >*** Makefile.in 2001/09/04 20:56:23 1.12 > >--- Makefile.in 2001/09/12 14:48:07 1.13 > >*************** endif > >*** 37,44 **** > > datadir = @datadir@ > > infodir = @infodir@ > > ifneq (,$(findstring cygwin,$(target_alias))) > >! inst_includedir:=$(tooldir)/include/w32api > >! inst_libdir:=$(tooldir)/lib/w32api > > else > > inst_includedir:=$(includedir) > > inst_libdir:=$(libdir) > >--- 37,44 ---- > > datadir = @datadir@ > > infodir = @infodir@ > > ifneq (,$(findstring cygwin,$(target_alias))) > >! inst_includedir:=$(tooldir)/usr/include/w32api > >! inst_libdir:=$(tooldir)/usr/lib/w32api > > else > > inst_includedir:=$(includedir) > > inst_libdir:=$(libdir) > > -- > cgf AT cygnus DOT com Red Hat, Inc. > http://sources.redhat.com/ http://www.redhat.com/ _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com