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 Date: Wed, 12 Sep 2001 12:50:09 -0400 From: Christopher Faylor To: cygwin-developers AT Cygwin DOT Com Subject: Re: Makefile.in patch -- why? Message-ID: <20010912125009.A18104@redhat.com> Reply-To: cygwin-developers AT Cygwin DOT Com Mail-Followup-To: cygwin-developers AT Cygwin DOT Com References: <20010912113856 DOT A21124 AT redhat DOT com> <20010912115206 DOT A17317 AT redhat DOT com> <3B9F8A60 DOT 70D9511C AT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B9F8A60.70D9511C@yahoo.com> User-Agent: Mutt/1.3.21i 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