Mail Archives: cygwin-developers/2001/09/12/12:16:54
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
- Raw text -