Subject: Re: c++ failing on 1.4.3/i386
To: Shin'ichiro TAYA <taya@sm.sony.co.jp>
From: Martin Husemann <martin@duskware.de>
List: tech-toolchain
Date: 10/16/2000 08:56:42
> This is because libgcc linked twice.

This is the case too for simple test apps I tried (which work).

Isn't the linker supposed to manage duplicate -l items?

> Apply this patch instead of patch in pkgsrc to add -nodefaultlibs.

I don't like that way, because this is a "simple" c++ application with
shared libs. It should work, and it shouldn't need to turn the internas
of our toolchain upside down.

So what is the real cause for the problem here and what is the right
way (TM) to fix it?


Martin