On Mon, Aug 30, 2010 at 3:53 PM, Tor Lillqvist <tml@iki.fi> wrote:
> Wondering: What is the reason for linker not to be able to handle this?

Because it isn't supposed to. It behaves as documented, and as
UNIX-style linkers always have.

See the ld manual page, look for "The linker will search an archive
only once, at the location where it is specified on the command line".

So, is the historical compatibility only reason? Or is there also some advantage to this behavior (apart from simplicity of implementation), too?