This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: WinCE support in LD
- To: nickc at cygnus dot com
- Subject: Re: WinCE support in LD
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 23 Feb 2000 21:30:32 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <200002240221.SAA10069@elmo.cygnus.com>
From: Nick Clifton <nickc@cygnus.com>
CC: binutils@sourceware.cygnus.com
: + if (ldfile_open_file_search (arch->name, entry, "", ".lib"))
: + return;
: }
: einfo (_("%F%P: cannot find %s\n"), entry->local_sym_name);
: }
:
: It seems like this will force every system to start looking for .lib
: files. That seems definitely wrong on a Unix system.
Why - just because it would slow the link down, or are you worried
that the linker might actually find files ending in .lib that it
should not be looking at ?
Both. The former is an annoyance which we should avoid. The latter
is simply incorrect. The linker is documented to look at a certain
set of files. To look at other files can only be called a bug.
: I think this needs to be made emulation specific somehow.
That seems to be the problem - how to tell which emulation is
currently the target. Maybe we need another field in the
ld_emulation_xfer_struct which is a find-potential-libraries function?
Probably. We already have ldemul_open_dynamic_archive.
Ian