Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 01:18:18 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Alex Zepeda <garbanzo@hooked.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: gcc 2.8.1 Exceptions? 
Message-ID:  <199902220918.BAA35954@rah.star-gate.com>
In-Reply-To: Your message of "Mon, 22 Feb 1999 01:10:27 PST." <Pine.BSF.4.05.9902220107100.961-100000@zippy.dyn.ml.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

Tnks I know that egcs is better than gcc-2.8 is just that egcs  semantics for 
template
handling got fixed or changed and it fails to compile "EF".  EF uses default 
arguments
in template functions which gcc alows however egcs does not .


Will look into later  to switch to egcs ... 

gcc-2.8.1 exception handling with elf objects works on 3.0 system s per my 
posting.

	Best Regards,
	Amancio

> On Mon, 22 Feb 1999, Amancio Hasty wrote:
> 
> > Not sure if exception handling on gcc-2.7.3 is buggy or what however per the 
> > simple
> > minded program which I posted exception handling on gcc-2.7.3 appears to work.
> 
> AFAIK it's non-existant without some patches or somesuch.
> 
> > Now to get exception handling with gcc-2.8.1 from the porst dristribution  
> > working on FreeBSD
> >  defined in defaults.h:
> > 
> > #define DWARF2_UNWIND_INFO  0
> >                                                  ^^^ which was 1 before.
> > 
> > If I am not mistaken the above sets the exception handling to something like 
> > -fsjlj-exceptions.
> 
> Well this may have fixed it for a.out, but didn't work for me with ELF
> binaries.  The best solution is to use egcs and its startup objects so you
> can get threadsafe exceptions and not have to deal with stupid defines.
> There's a patch to do this in the egcs port (patch-ak).  Plus from what
> I've heard egcs 1.1.1 is a more reliable C++ compiler (hey it works with
> KOffice and *shudder* mico).
> 
> > Currently working on porting Netscape's Electric Fire to FreeBSD. "EF"
> > is a very cool java vm which translates java classes straight to
> > machine instructions 8)
> 
> Cool.
> 
> - alex
> 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902220918.BAA35954>