X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <480450C0.870E1A40@dessent.net>
Date: Mon, 14 Apr 2008 23:52:48 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] NEW: libtool-2.2.2-2 / Updated: libltdl7-2.2.2-2
References: <announce.48038853.7090707@cwilson.fastmail.fm> <4803AA47.70501@users.sourceforge.net> <4803E38F.9080708@cwilson.fastmail.fm> <48041592.1010400@users.sourceforge.net> <48044AEF.9010509@cwilson.fastmail.fm>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Charles Wilson wrote:

> way to get ld to print its search path (which is why Brian grep'ed the
> binary) like gcc's -print-search-dirs. So libtool has no mechanism to

I grepped the default linker script which is a plain text file.  This
can be done programmatically by adding -Wl,-verbose to a test link which
prints the output of the linker script used.  Note that the linker
script used depends on the linker options, but I don't think libtool
supports relocatable links (-r) or anything exotic like that so it
shouldn't matter; and in any case all the stock PE linker scripts have
the same SEARCH_DIRs at the top.

Brian

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

