delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/08/05:36:38

From: pavenis AT lanet DOT lv
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Fri, 8 Jun 2001 12:23:17 +0300
MIME-Version: 1.0
Subject: Re: [PATCH] Uses -fno-exceptions for C++ in CVS version of DJGPP
Message-ID: <3B20C3B5.24003.90AD0D@localhost>
In-reply-to: <9743-Fri08Jun2001120700+0300-eliz@is.elta.co.il>
References: <3B20B4AA DOT 30542 DOT 55E772 AT localhost> (pavenis AT lanet DOT lv)
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 8 Jun 2001, at 12:07, Eli Zaretskii wrote:

> > From: pavenis AT lanet DOT lv
> > Date: Fri, 8 Jun 2001 11:19:06 +0300
> > 
> > This patch adds -fno-exceptions for C++ compiler options 
> > (currently for emu387.cc only). C++ exceptions is not used there
> > and as result we can get smaller size of object code (and emu387.dxe)
> 
> Thanks, but please put this switch into gcc.op and gcc-l.opt, not in
> the makefile's.  All the compiler switches (except -c) we use during
> the djdev build are in gcc.opt and gcc-l.opt.

It's needed for C++ only (currently emu386.cc only). If I'll add it to 
gcc.opt and gcc-l.opt it will be for both C and C++. Should we really 
have this option there (it's harmless for C, so it can be added there)

Andris

- Raw text -


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