Subject: Re: g++ exceptions
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Krister Walfridsson <firstname.lastname@example.org>
Date: 04/03/2000 10:21:19
On Sun, 2 Apr 2000, Jonathan Stone wrote:
> In message <20000401174807.A26425@realms.nimenees.com>email@example.com writes
> > I just tried a c++ program that uses exceptions.
> >It didn't work. "Abort (core dumped)" as soon as an.
> >exception is thrown.
> Did you compile with "c++" or just "cc"? If you compile with "cc",
> then sometimes C++ code compiles but doesn't get the right startup
> libraries linked in, causing htte code to die at runtime.
> I tried the source code with c++ and our egcs-1.1.1, (on an otherwise
> mostly 1.4.2-ish i386 system), it worked fine.
It's a known binutils/i386-elf (or maybe elf on all archs?) problem.
It's on my TODO list for 1.5.