This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exceptions workaround for older systems that don't USE_COLLECT2
- To: "Melissa O'Neill" <oneill at cs dot sfu dot ca>
- Subject: Re: Exceptions workaround for older systems that don't USE_COLLECT2
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 06 Sep 1998 02:08:25 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199809050209.TAA27108@daisy.css.sfu.ca>you write:
> Received wisdom states that you're on a system that doesn't need
> to ``USE_COLLECT2'', you should make sure you're running a recent
> version of GNU ld if you want exception support to work (at least
> if it's using __throw for exceptions).
>
> However, under NEXTSTEP 3.3 one can't install a recent GNU ld,
> because GNU ld doesn't support NEXTSTEP's object format. But,
> because NEXTSTEP's ld is smart enough to grok constructors and
> destructors, EGCS 1.1 (and every earlier release) isn't set to
> ``USE_COLLECT2''. Net result: while static constructors and
> destructors work fine, exceptions don't.
Seems to me we ought to enable collect2 on these systems.
Toon -- thoughts?
jeff