cURL / Mailing Lists / curl-users / Single Mail

curl-users

How to get a statically linked curl

From: Torsten Foertsch <torsten.foertsch_at_gmx.net>
Date: Mon, 2 Jun 2003 22:01:10 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

is there a simple way to create a statically linked curl, if possible even
with diet libc?

I can make it manually:

configure
make
cd src
gcc -g -O2 -static -o .libs/curl.static main.o hugehelp.o urlglob.o writeout.o
writeenv.o ../lib/.libs/libcurl.a -lssl -lcrypto -ldl -lz

But I'd like a configure option --with-static or so to build and install both
a dynamically linked version and a statically linked one.

But I have no idea where to start to achieve that.

Torsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+260KwicyCTir8T4RAr5sAKDFsh1ryRE5ETmm6sEbtT2IIQE1oACgvrI2
A6UG2BzbkJje2Q7pMIftnOo=
=or+Q
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-02