On Tue, 24 Sep 2002, Hans Horn wrote: > Igor, > > "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > Don't forget the object headers - depending on which options you use, they > > can be 8 bytes per object. > > [snip] > > Are there options that cost less (in terms of object headers) that the > defaults? > [snip]
Oh, yeah, almost forgot: `-fno-rtti' Disable generation of the information used by C++ runtime type identification features (`dynamic_cast' and `typeid'). If you don't use those parts of the language (or exception handling, which uses `dynamic_cast' internally), you can save some space by using this flag. This is one that comes to mind, there should be others, too. Try 'info gcc'. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/