This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs build report
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: egcs build report
- From: Tom Holroyd <tomh at taz dot ccs dot fau dot edu>
- Date: Fri, 19 Jun 1998 11:04:04 +0900 (JST)
- cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, egcs at cygnus dot com, law at cygnus dot com
On Thu, 18 Jun 1998, Joe Buck wrote:
>> > Yes, we want -g included in the flags by default.
>>
>> Why?
>...
>I don't want to suddenly get lots of mail from folks who can't debug
>their code (because someone installed a libstdc++ with no debug symbols).
Actually, this is a good point. Although I don't know why c++ debugging
requires library symbols (I can debug my C code even though I can't step
into strcpy (why would I want to?)). But the compiler itself surely
doesn't need -g to run. Perhaps some selectivity is called for.
As long as we're on this, could somebody please satisfy my curiosity about
this: does -g impact the performance of -O? In some compilers, -g turns
-O off, and that's mostly why I don't use it (unless I specifically want
to run gdb). But what's the story with gcc/egcs?
Dr. Tom Holroyd
Behavior Control Lab, Human Informatics Dept. The basis of
National Institute of Bioscience and Human-Technology stability is
1-1 Higashi, Tsukuba-shi, Ibaraki 305, Japan instability.
The 9th Amendment of the U.S. Constitution:
"The enumeration in the Constitution, of certain rights, shall not be
construed to deny or disparage others retained by the people."