Subject: Re: Unwind
To: None <tech-toolchain@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-toolchain
Date: 01/23/2004 14:15:11
In article <20040122224857.GP27061@dmath5.geometrie.tuwien.ac.at>,
Thomas Klausner <wiz@NetBSD.org> wrote:
>On Thu, Jan 22, 2004 at 04:08:59PM -0600, James Chacon wrote:
>> If you compiled source with g++, link with g++. Compile is applicable for
>> "any objects you're linking with" as well.
>
>Yeah, but the problem is that the library is in C++ and by a
>different person [and in a separate package] and the program is
>in C.
>So you have to know if a library was written in C++ or in C just
>to link it correctly, which is a bit strange...

The problem is with our libgcc; You can get around it by linking
-Bstatic -lgcc -Bdynamic (I think)

christos