-fno-exceptions and libgcc.a
Richard Henderson
rth@cygnus.com
Mon Oct 6 16:49:00 GMT 1997
On Mon, Oct 06, 1997 at 01:14:04PM -0700, Per Bothner wrote:
> 6) The proposed solutions are more work than implementing *what people
> expect* - i.e. no exception handling support for C, unless requested.
I will note for the record that both Digital Unix and Irix 6 both
generate frame-unwind info for all functions all of the time. There
is no option to turn it off, and no option to strip it.
IMO we should figure out how to make the info smaller for the common
case, but to generate the info by default, whatever the language.
People are only bitching now because it is apparently 1/3 the size of
the text on i386. If the overhead were more like 32 bytes / function,
I seriously doubt they'd care or notice.
There are useful things one can do with that info, even from C, if
you can be resonably sure that everything will have that info. If
libc and libX11 are built without it, it makes it significantly less
useful. Now you are going to either force a second copy of the
library on the system, or throw up your hands in dispair.
r~
More information about the Gcc
mailing list