This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: BUG gcc-mingw 20040810-1 library search path
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 3 Sep 2004 19:25:34 +0100
- Subject: RE: BUG gcc-mingw 20040810-1 library search path
> -----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/