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

List:       kde-devel
Subject:    Re: FYI: size optimizations
From:       "Dirk A. Mueller" <dmuell () gmx ! net>
Date:       1999-05-26 15:53:05
[Download RAW message or body]

Alex Zepeda <garbanzo@hooked.net> wrote:

> This means that you can't compile kdelibs with either of those flags,
> but perhaps you can with kdebase.

That's right, kdelibs needs to be compiled with -frtti, but the rest
not.

> However, even though mico has tied us to egcs 1.1.x, there are
> different flags needed to enable exceptions on different systems.

That's news to me. Anyway, configure already checks if the compiler
supports -fno-exceptions -fno-rtti, so it should be pretty easy to add
it as default flags _if_ the compiler supports it.

Anyway, rtti information is not the important thing. It doesn't reduce
binary size much, it only reduces run time memory size a bit. The more
important one is -fno-exceptions, which saves quite a buck.

-- 
Dirk A. Mueller

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

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