[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: splitting up mcopidl.cc...
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-10-02 10:38:50
[Download RAW message or body]

Stefan Westerfeld wrote:
> 
>    Hi!
> 
> On Sun, Oct 01, 2000 at 11:23:14PM +0200, Bernhard Rosenkraenzer wrote:
> > I guess we should split up kdelibs/arts/mcopidl/mcopidl.cc - with gcc
> > 2.96, -O2, compiling this file takes up 315 MB of memory.
> > It's even worse on sparc (compiling that file broke down because of a
> > memory shortage on a box with 256 MB RAM + 300 MB swap while it wasn't
> > doing anything else).
> >
> > I guess this will get us a number of complaints from people on lower-end
> > machines trying to compile it...
> >
> > I know splitting it up will hurt performance of the resulting binary a bit
> > -- but I think that's a non-issue because --enable-final fixes that.
> 
> Performance is a non-issue, because the binary will only be run during
> compilation of KDE, and it should be fast enough for that in any case.
> 
> > Any reasons not to do it? (Yes, I know it's quite late for this type of
> > change...)
> 
> I think using -O0 is okay as a workaround (it should be fixed in gcc, really).
> But if you like to split it up anyway, feel free to do it.
> 
Using -O0 is not a good solution as it's very gcc specific afaik.

Greetings, Stephan

-- 
... but you ain't had mine

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic