[gtkmm] Is gtkmm bloated (6016 vs 30008 bytes)



Hello !
It must be very popular question and included in FAQ:
Q. Is gtkmm bloated
A. No, gtkmm is a thin wrapper. ...

But this is what I mentioned after compiling gtk and gtkmm:
gtk-2.2.4 vs gtkmm-2.2.8 (gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
with default Makefiles, dymanically linked, after 'strip -s'). Sizes:
samples/fixed:    6016 vs 30008 (1/5)
demos/gtk-demo:    78012 vs 437536 (1/5 - 1/6)
So it is not "stub" size (perhaps SigC::slot()s ?) and executable is 5-6
times bigger

Please explain what am I doing wrong and is there a way to make it thinner ?

Sincerely,

Michael





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]