Gentoo Archives: gentoo-user

From: Ryan Tandy <tarpman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why firefox is so slow?
Date: Sun, 30 Apr 2006 23:33:21
Message-Id: 4455479B.9080007@gmail.com
In Reply to: Re: [gentoo-user] why firefox is so slow? by Farhan Ahmed
1 Farhan Ahmed wrote:
2 > Jeff Rollin wrote:
3 >
4 >> I didn't say DG_DISABLE_DEBUG was a USE flag, I said it was a CFLAG. And it
5 >> improves the speed of KDE applications too
6 >>
7 >
8 > Read your earlier post.. Anyway where is this CFLAGS 'DG_DISABLE_DEBUG'
9 > documented? I cant find any reference to it in man gcc. No usable
10 > results came up when i googled it..
11 >
12 > Farhan Ahmed
13 >
14 It's not a CFLAG, at least not a compiler flag as you would be familiar
15 with them. It's -DG_DISABLE_DEBUG, with the hyphen at the beginning,
16 and all it does is tell the compiler to activate a setting called
17 G_DISABLE_DEBUG in code that uses it. From my own Googling, it looks
18 like it's meant to be used by applications linking against Glib in their
19 build scripts, not by end users.
20
21 In any case, if you're going to use -DG_DISABLE_DEBUG, you should also
22 add its converse, -UG_ENABLE_DEBUG, since that seems to be the 'proper'
23 way to do it.
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] why firefox is so slow? Jeff Rollin <jeff.rollin@×××××.com>