delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/03/14:28:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: BUG gcc-mingw 20040810-1 library search path
Date: Fri, 3 Sep 2004 19:25:34 +0100
MIME-Version: 1.0
In-Reply-To: <643109725.20040903170802@familiehaase.de>
Message-ID: <NUTMEGUkRacUtI9dm5U0000115f@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 03 Sep 2004 18:25:34.0906 (UTC) FILETIME=[673FE1A0:01C491E3]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Gerrit P. Haase
> Sent: 03 September 2004 16:08
> To: Igor Pechtchanski

> Hallo Igor,

  I'm not Igor!  Heh, PMFBI!

> > On Mon, 30 Aug 2004, Gerrit P. Haase wrote:
> >> >> This is in binutils/ld/configure.tgt:
> >> >> i[3-7]86-*-cygwin*)     targ_emul=i386pe ;
> >> >>                         targ_extra_ofiles="deffilep.o pe-dll.o"
> >> >>                         test "$targ" != "$host" &&
> >> >> LIB_PATH='${tooldir}/lib/w32api' ;;
> >> >>
> >> >> where tooldir should be /usr/i686-pc-mingw32 in this 
> case and you need
> >> >> to have the symlinks installed in /usr/i686-pc-mingw32:
> >> >>     21 Nov  1  2003 bin -> ../i686-pc-cygwin/bin
> >> >>     16 Nov  1  2003 include -> ../include/mingw
> >> >>     12 Nov  1  2003 lib -> ../lib/mingw
> 
> The whole point was that there is stated in binutils ld config
> LIB_PATH='${tooldir}/lib/w32api' 

> ${tooldir}/lib/w32api it is the same as saying
> /usr/i686-pc-mingw32/../lib/mingw/w32api which doesn't resolve and I
> wonder how this works.

  Gerrit, the default search path for ld is passed down from the gcc driver,
not compiled into ld.  I think this LIB_PATH setting is maybe just used on
the build machine, at the time when compiling a cross-binutils (hence the
test "$targ" != "$host") targetted at mingw, perhaps?


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


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

- Raw text -


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