cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: distributing a compiled program using libcurl

From: Flavio Tischhauser <ftischhauser_at_fladivision.com>
Date: Tue, 02 Nov 2004 16:52:21 +0100

Hi

Wei Weng wrote:

> Flavio Tischhauser wrote:
>
>> [...]
>> I want to provide this CGI to others in a precompiled binary form, so
>> others can use my CGI without having libcurl installed. I compiled my
>> program again with the "--static" flag and got a whopping 4.5MB file
>> - pretty big for a CGI program. Or does anyone know if Apache/Linux
>> caching is intelligent enough to prevent the additional
>> filesystem/memory load?
>>
>> Is there a way to strip any unused functions (it only needs to do
>> simple HTTP Posts, no SSL, no zip etc) Or do you have other tips on
>> how to reduce the size of my program and still run it on every
>> "standard linux server"?
>> [...]
>
> What is your development platform?

It's programmed for linux (although it's also working perfectly under
windows, thanks to libcurl! ;-) and I want to provide the precompiled
file for linux systems. I'd like the program to run on every "standard
linux webserver". I don't have much experience building larger
applications with a lot of libraries and stuff, so i might just have
forgot something very stupid.

Thanks

Flavio Tischhauser
Received on 2004-11-02