Subject: Re: c++ failing on 1.4.3/i386
To: Martin Husemann <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 10/16/2000 10:30:10
On Mon, 16 Oct 2000, Martin Husemann wrote:
: Isn't the linker supposed to manage duplicate -l items?
Yes. But see below.
: So what is the real cause for the problem here and what is the right
: way (TM) to fix it?
No one has actually tripped over this problem in the old ld before. The
correct fix is for the a.out based old ld *not* to link in code (regardless
of -Bforcearchive/--whole-archive) from libraries specified with "-l". The
correct, or at least GNU-ld-compatible, method is to apply --whole-archive
only to ".a" arguments, not "-l" search libraries.
Well, this won't be fixed in 1.4.3, but I'll try to whip up a fix soonish.
-- Todd Vierling <firstname.lastname@example.org> * http://www.wasabisystems.com/
-- Speed, stability, security, and support. Wasabi NetBSD: Run with it.