This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix LD test FAIL: bootstrap with --static on Cygwin
Alan Modra wrote:
> On Mon, Mar 16, 2009 at 11:54:07AM +0000, Dave Korn wrote:
>> Alan Modra wrote:
>>> Hmm, how did you manage to get -liconv here?
>> Oops, sorry for the confusion. I cut and pasted a log line from an
>> earlier
>
> I figured something like that, but wanted to be sure I wasn't missing
> something in the autoconf and build magic for libintl.
As it happens it was kinda late and I couldn't see where exactly the command
line args were coming from, and I thought maybe something was sorting the -l
options to the end for me, which is why I tried the experiment in the first
place. Turned out there was no magic going on here after all.
> Patch OK.
Ta, applied, with this ChangeLog entry:
* ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when
linking statically on Cygwin, necessitated by '-lintl'.
I'll just give your patch for tail vs. cmp a quick test, then it's on to
open a can of weak symbol worms...
cheers,
DaveK