Hello,
I cannot seem to get the size of my executables down to a reasonable
size. For example the simple program I posted to the list yesterday is in
excess of 1.5Mb. I have managed to get the size down a few hundred kb but
still it's quite large for so little code (added strip-all and that reduced
it a couple of hundred Kb and so did removing static option). This is my
comiler command, am I missing something?
g++ userinput.cpp -lcryptopp -L/usr/local/lib -Wl,--strip-all -o shatest
I have read through the info in the FAQ but still I cannot seem to keep the
size down. Here are the includes from CryptoPP, I am linking to the FreeBSD
port and not the fiels I compiled myself as that made the executable larger: