Read the first few lines in GNUmakefile. You need to use some compiler flags to turn on function-level (instead of file-level) linking, and maybe upgrade GCC (because some versions on some platforms have bugs when those flags are used).
On Mon, Nov 15, 2004 at 06:30:06AM -0500, [EMAIL PROTECTED] wrote: > Howdy > > I built my app on aix 5.2 powerpc with crypto 5.2.1 using gcc 3.3.3 > > the excutables linked with libcryptopp.a are huge, 11MB/18MB > stripped/unstrippped, > my other executables (w/o libcrypto linked) are 500K/2M stripped/unstripped > that is 20 times size diff. > Last time I used crypto lib 2.x or 3.x four years agon on aix 4.2 rs6000 and > there was almost no diff. > > Does anybody have similar experience on aix 5.2 powerpc ? > or am I doing obviously something wrong here ? > > I investigated this for days and I am at my wits end here :( > there must be some compilation switch/options that magically fixes this I > hope. > > gcc info: > $ gcc -v > Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/specs > Configured with: ../gcc-3.3.3/configure --disable-nls > Thread model: aix > gcc version 3.3.3 > > I appreciate any advice/help - even wildest one :) > > thanks > Bogdan > >
