X-Recipient: archive-cygwin AT delorie DOT 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 X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] NEW: libtool-2.2.2-2 / Updated: libltdl7-2.2.2-2 References: <4803AA47 DOT 70501 AT users DOT sourceforge DOT net> <4803E38F DOT 9080708 AT cwilson DOT fastmail DOT fm> <48041592 DOT 1010400 AT users DOT sourceforge DOT net> <48044AEF DOT 9010509 AT cwilson DOT fastmail DOT fm> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: > 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/