delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/31/03:01:53

Date: Thu, 31 Dec 1998 10:02:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Fogbank <foggy AT flashnet DOT removethis DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: gxx and rhide
In-Reply-To: <368ad062.23843021@news.flashnet.it>
Message-ID: <Pine.SUN.3.91.981231100014.23053K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 31 Dec 1998, Fogbank wrote:

> I'm using GCC 2.8.1 and I found that, while gxx supports exceptions,
> gcc doesn't (and I also have to add -lstdcxx). Is this true?

This cannot possibly be true.  Both gcc and gxx are just drivers; the
actual compiler (which supports exceptions) is cc1plus.exe, and it
should be invoked by either gcc or gxx to compile C++ programs.

The most probable cause of your trouble is some installation snafu.
For example, you might be mixing executables from different GCC
versions.  Add -v to the compilation/link command switches, and watch
the versions printed by all compiler passes.

> besides having to rename libstdcxx.a to libstdcx.a (no long names?)

This is another installation mess-up.  See section 8.7 of the DJGPP
FAQ list for explanation of reasons and description of solutions.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019