Re: Why I am getting -g from configure ?
- From: James Henstridge <james daa com au>
- To: Lukas Knutsson <lukas razorfish com>
- cc: gnome-list gnome org
- Subject: Re: Why I am getting -g from configure ?
- Date: Wed, 7 Apr 1999 18:22:22 +0800 (WST)
The default settings for configure scripts is to use the -g and -O2 flags
for gcc compilers. This is because the resulting executables are much
more useful for reporting bugs. Note that the executables will only take
up more room on disk -- not in memory. If you really don't want debugging
info in your executables, set the CFLAGS environment variable
appropriately before calling configure or autogen.sh.
James Henstridge.
--
Email: james@daa.com.au
WWW: http://www.daa.com.au/~james/
On Wed, 7 Apr 1999, Lukas Knutsson wrote:
> Today I noticed that when I got the latest ORBit from CVS and did,
> ./autogen.sh --prefix=/opt/gnome --with-gtk-prefix=/opt/gnome
> make
>
> it started compiling just fine, but it was using the -g -O2 option to
> gcc. This seemed strange to have both debugging info and optimizations
> on. I know that gcc says this is possible but I certianly don't need
> debug info, not yet at least. After reading the INSTALL file, I came to
> the conclusion that debug info should be off by default. So can somebody
> give me an idea of what is causing the -g option to be activated ?
>
> I noticed the same thing when I compiled gimp 1.0.4 from a tarball. The
> compilation went fine but the runtimes were very large and I had to
> "strip" them.
>
> /Lukas
>
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]