After running g++ with optimization flag -O2 and without -g, liblog4cxx.so
is 2.2 MB.  I have low memory constraints in my deployment environment.  How
can I minimize this further?  With the same options, dependencies libapr and
libaprutil are only 183K and 135K respectively.  My first thought would be
to remove classes that I don't need (appenders for XML, DB, etc.), but I
wanted to know if there are more effective ways.

Thanks,

Lee

GCC 4.3.2, Log4cxx 0.10.0

Reply via email to