delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/09/16:13:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A7F30FC.7030506@gmail.com>
Date: Sun, 09 Aug 2009 21:26:36 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to install-libLTLIBRARIES dll to bin?
References: <6910a60907272310q54f29289l454117aff82afd5a AT mail DOT gmail DOT com> <4A6ED94B DOT 8020003 AT gmail DOT com> <4A7E725C DOT 8010706 AT users DOT sourceforge DOT net> <4A7ED3C9 DOT 70700 AT cwilson DOT fastmail DOT fm> <4A7F03EA DOT 9030101 AT gmail DOT com> <4A7F2C02 DOT 80409 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <4A7F2C02.80409@cwilson.fastmail.fm>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Charles Wilson wrote:

> OTOH, Dave, can you see any reason why Yaakov's simpler "hack" as
> modified by your 19:21:26UTC message shouldn't *ALSO* go in, along with
> --bindir support?  It (1) seems like a reasonable approach, (2) doesn't
> suffer from the "hey that dir doesn't exist yet" problem, and (3)
> doesn't appear to have much potential for causing harm in normal usage.

  Yes, I think it's a good patch.  The existing code is a heuristic, and this
improves the heuristic in a common failure case without breaking it in other
cases, I think it should go in.

> and append a ../bin to it -- which works if THE $libdir and THE $bindir
> are actually siblings.  Since, for gcc, they may not be, --bindir is
> actually a cleaner approach in that case.  But in general,...

  I don't think you needed to qualify that by saying "for gcc they may not be";
it applies to anything that uses autotools.  As long as configure offers the
user --bindir, --libdir, and all these other options for freely renaming and
re-laying-out the $prefix structure during a configure and build, I think that
we need to support them, with a more general approach that will DTRT no matter
how the user configures their build.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019