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?


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.

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

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

cgf


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