This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Makefile.in patch -- why?


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@cygnus.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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]