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?


Christopher Faylor wrote:
> 
> On Wed, Sep 12, 2001 at 12:16:32PM -0400, Earnie Boyd wrote:
> >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'?
> 
> Yes.  That is standard gnu behavior.
> 

I agree.  But somewhere along the way someone added this exception for
Cygwin.  I was just trying to enhance it.

> >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?
> 
> With your change and without a prefix the libraries are installed in
> .../i686-pc-cygwin/usr/lib rather than .../i686-pc-cygwin/lib ."
> 
> I don't agree that you should be forcing a usr in there at all.  That
> is the point of exec_prefix and prefix.  I haven't tried this, but
> it seems like if you:
> 
> configure --exec-prefix=/usr --prefix=/usr
> 
> you will end up with /usr/usr/include and /usr/usr/lib directories.
> That is obviously wrong.
> 

I see that.  I'll correct it but maybe not before the release.

> With your change the behavior of w32api varies from the rest of the
> whole src toolchain.
> 

It was already different, I just made it more different and it's only
different for Cygwin.  I'll continue to look at this and fix it.

Earnie.

_________________________________________________________
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]