Mail Archives: djgpp/1996/11/21/18:54:28
Lisa Kremer wrote:
>
> Hi all,
>
> I am using DJGPP 2.0 with RHIDE.
> Wrote a program that uses exceptions. Compiling with the
> -fhandle-exceptions was fine, but the linkage was stopped by an error:
>
> Linking:
> myfile.cc(.text+0x113): undefined reference to 'terminate(void)'
>
> As far as I know, the word 'terminate' does not appear in my
> program, which compiles and executes on a Sun with g++ 2.72
>
> Can anyone resolve this one ?
Yes. You need to link in libstdcx.a. Don't use ANY optimisation
by the way, gcc's exception handling is still in development
at the moment.
Regards,
--
Ian Miller, Dorset, UK
DJGPP 2.01, Win95 DOS box (LFN undefined, FNCASE=y)
- Raw text -