Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Fri, 3 Sep 2004 17:08:02 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit @ cygwin" <cygwin@cygwin.com>
Organization: Esse keine toten Tiere
Message-ID: <643109725.20040903170802@familiehaase.de>
To: Igor Pechtchanski <pechtcha@cs.nyu.edu>
CC: cygwin@cygwin.com
Subject: Re: BUG gcc-mingw 20040810-1 library search path
In-Reply-To: <Pine.GSO.4.61.0408301011440.24572@slinky.cs.nyu.edu>
References: <14810259248.20040829195031@familiehaase.de> <20040829212630.32357.qmail@web40414.mail.yahoo.com> <1008963871.20040830011922@familiehaase.de> <Pine.GSO.4.61.0408292220310.29060@slinky.cs.nyu.edu> <1524918411.20040830073143@familiehaase.de> <Pine.GSO.4.61.0408301011440.24572@slinky.cs.nyu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hallo Igor,

Am Montag, 30. August 2004 um 16:14 schriebst du:

> 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' and the symlink is named
/usr/i686-pc-mingw32/lib and this sysmlink points to ../lib/mingw
which means saying /usr/i686-pc-mingw32/lib means the same as saying
/usr/i686-pc-mingw32/../lib/mingw.  When I say now
${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.

I'm sure it is working since the windows import libraries are included
all the time when you link and they are always in path, removing
libuuid from /usr/lib should do it in the case of the initial starter
and if he needs to have it then moving to another directory should
help.  The e2fs maintainer will move it to a subdirectory the next
release.

Gerrit


-- 
=^..^=



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

