* [gentoo-dev] KDE .ebuilds $DEBUG support
@ 2001-08-24 22:36 Don Davies
2001-08-25 2:13 ` Dan Armak
2001-08-25 4:53 ` Mikael Hallendal
0 siblings, 2 replies; 5+ messages in thread
From: Don Davies @ 2001-08-24 22:36 UTC (permalink / raw
To: gentoo-dev
Hi, devs
Dan Armak:
I think this would be a nice addition to the KDE .ebuilds. The QT .ebuild
has a similar provision. This should provide performance gains, as well
as reduce the compilation time, as I understand from reading posts on
http://dot.kde.org.
add to src_compile() :
if [ "$DEBUG" ] ; then
myconf="${myconf} --enable-debug"
else
myconf="${myconf} --disable-debug --enable-final"
fi
Any objections?
Cheers!
--
Donny
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] KDE .ebuilds $DEBUG support
2001-08-24 22:36 [gentoo-dev] KDE .ebuilds $DEBUG support Don Davies
@ 2001-08-25 2:13 ` Dan Armak
2001-08-25 10:41 ` tadpol
2001-08-25 4:53 ` Mikael Hallendal
1 sibling, 1 reply; 5+ messages in thread
From: Dan Armak @ 2001-08-25 2:13 UTC (permalink / raw
To: gentoo-dev
No particular objections. Debug should be disabled by default though, so I'm
not sure about performance gains. And about --enable-final, the configure
script says that creates smaller executables, which I assumed would come at
the expense of performance (i.e. optimize for size). Anyone know more? Achim?
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] KDE .ebuilds $DEBUG support
2001-08-24 22:36 [gentoo-dev] KDE .ebuilds $DEBUG support Don Davies
2001-08-25 2:13 ` Dan Armak
@ 2001-08-25 4:53 ` Mikael Hallendal
1 sibling, 0 replies; 5+ messages in thread
From: Mikael Hallendal @ 2001-08-25 4:53 UTC (permalink / raw
To: gentoo-dev
Den 25 Aug 2001 00:40:21 -0500 skrev Don Davies:
> Hi, devs
>
> Dan Armak:
>
> I think this would be a nice addition to the KDE .ebuilds. The QT .ebuild
> has a similar provision. This should provide performance gains, as well
> as reduce the compilation time, as I understand from reading posts on
> http://dot.kde.org.
Hi!
I generally agree to this and think this is the way to go (the same for
gnome-stuff). The only problem with this is that it's hell for us to
help users when they have problem since they can't provide any
information about what went wrong, only that something did went wrong.
I had a problem with Gnumeric the other day which was that it segfaulted
on one of my computer but not on the other. It turned out to be a bug in
Gnumeric (now fixed) but the reason it segfaulted on one of my computers
was that I had built glib with --disable-debug on the machine where it
segfaulted.
This is a performance-gain for the user and a real debugging-loss for
us. :) Most other distributions build with --enable-debug ASAIK.
Regards,
Mikael Hallendal
--
Mikael Hallendal http://micke.hallendal.net/
Stockholm, Sweden Cell: +46 (0)709 718 918
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] KDE .ebuilds $DEBUG support
2001-08-25 2:13 ` Dan Armak
@ 2001-08-25 10:41 ` tadpol
2001-08-25 16:44 ` Dan Armak
0 siblings, 1 reply; 5+ messages in thread
From: tadpol @ 2001-08-25 10:41 UTC (permalink / raw
To: gentoo-dev
On Sat, Aug 25, 2001 at 10:25:05AM +0300, Dan Armak wrote:
> No particular objections. Debug should be disabled by default though, so I'm
> not sure about performance gains. And about --enable-final, the configure
> script says that creates smaller executables, which I assumed would come at
> the expense of performance (i.e. optimize for size). Anyone know more? Achim?
as a random guess, I'd say the final thing is just stripping the binaries. Not
actually changing any code. You can usually drop the size of an executable by
half or more by stripping it.
--
Michael Tilstra tadpol@tadpol.org
1:Genius, of itself, is not a survival trait, otherwise we'd all be geniuses.
2:Genius alone is guaranteed to get you killed or worse.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] KDE .ebuilds $DEBUG support
2001-08-25 10:41 ` tadpol
@ 2001-08-25 16:44 ` Dan Armak
0 siblings, 0 replies; 5+ messages in thread
From: Dan Armak @ 2001-08-25 16:44 UTC (permalink / raw
To: gentoo-dev
> as a random guess, I'd say the final thing is just stripping the binaries.
> Not actually changing any code. You can usually drop the size of an
> executable by half or more by stripping it.
Yes, I thought about that, but I'd like to get a confirmation before I make
our ebuilds as that as a default option.
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-08-25 22:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-24 22:36 [gentoo-dev] KDE .ebuilds $DEBUG support Don Davies
2001-08-25 2:13 ` Dan Armak
2001-08-25 10:41 ` tadpol
2001-08-25 16:44 ` Dan Armak
2001-08-25 4:53 ` Mikael Hallendal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox