cURL / Mailing Lists / curl-library / Single Mail

curl-library

how small can i make the curl executable to support ftps://?

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: Tue, 9 Aug 2005 12:34:32 -0400 (EDT)

  i've managed to cross-compile curl for the PPC, disabling darned
near everything since all i need is support for ftps, and i statically
linked all of the libraries that weren't already on my embedded
system. you can see the few libs that are still being linked
dynamically here:

  $ ppc_8xx-ldd curl
    libc.so.6 => /usr/local/eldk3.1.1/ppc_8xx/lib/libc.so.6
    libdl.so.2 => /usr/local/eldk3.1.1/ppc_8xx/lib/libdl.so.2
    ld.so.1 => /usr/local/eldk3.1.1/ppc_8xx/lib/ld.so.1

the resulting PPC executable is still a whopping big 1.3M so i'm
wondering how few libs i need to link to get ftps support. just how
small can i make this thing? thanks.

rday
Received on 2005-08-09