cURL / Mailing Lists / curl-users / Single Mail

curl-users

FW: openssh static size. and -ffunction-sections

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Wed, 21 Nov 2001 08:50:21 -0500

I don't actually know what this means; however if any of you cURL
hackers do, and it makes any sense at all for curl...

Background: openssl was only built with static libraries for cygwin
until just a few days ago, when I asked why not. Then it was re-compiled
to produce both static and DLL libraries. Someone commented that another
package (openssh) got very much smaller when linked against the DLLs
instead of the .a's; and that's when the comment below was brought
forth.

--Kevin

-----Original Message-----
From: Robert Collins [mailto:robert.collins_at_itdomain.com.au]
Sent: Tuesday, November 20, 2001 10:54 PM
To: cygwin-apps_at_sources.redhat.com

Just a thought: was the openssl static libraries built
with -ffunction-sections?

If not, then that may be why the openssh static binaries where so big
and so I think that -ffunction-sections should be mandatory for
packagers, unless the libraries sources is one-function-per-file
structured (which achieves the same thing).
Received on 2001-11-21