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

List:       kde-core-devel
Subject:    Re: splitting up mcopidl.cc...
From:       Stefan Westerfeld <stefan () space ! twc ! de>
Date:       2000-10-02 1:09:44
[Download RAW message or body]

   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.

   Cu... Stefan
-- 
  -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         

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

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