From owner-freebsd-questions Mon Feb 16 23:01:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA16285 for freebsd-questions-outgoing; Mon, 16 Feb 1998 23:01:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from zippy.dyn.ml.org (garbanzo@libya-238.ppp.hooked.net [206.169.227.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16237 for ; Mon, 16 Feb 1998 23:01:21 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.8.8/8.8.7) with SMTP id XAA28916; Mon, 16 Feb 1998 23:02:53 -0800 (PST) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Mon, 16 Feb 1998 23:02:48 -0800 (PST) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org To: Doug White cc: John Fox , freebsd-questions@FreeBSD.ORG Subject: Re: gcc 2.8.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 16 Feb 1998, Doug White wrote: > On Fri, 13 Feb 1998, John Fox wrote: > > > Has anyone been able to get g++ 2.8 working in 2.2-stable? I compiled > > the compiler and libstdc++2.8 but exceptions don't work. Any throw, > > whether caught or not, causes the program to end with signal 6 and > > print Abort trap. > > gcc requries massive hacking to work. Check in on the -hackers mail > archives for current progess; we're still working on it. Well, you have two options. One is to convert your system to elf, which is not recommended at all, and requires a lot of hacking and piecing together a somewhat outdated (but still very useful) elfkit, not fun. The elfkit should work with 2.2-stable, and does work fairly well with -current. The second option is to grab the egcs or gcc 2.8 port. With C code everything works fine, with C++ I've had much more mixed results. The newer egcs snapshots and the gcc 2.8 port, have a patch that will fix C shared library problems, however, at least for me, C++ problems abound. This is with my -current box. YMMV. - alex A diplomat is someone who can tell you to go to hell in such a way that you look forward to the trip. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message