[pkg-lighttpd] Compiling lighttpd results in bigger executable

Krzysztof Krzyżaniak eloy at kofeina.net
Tue Feb 13 12:06:02 CET 2007


Alexandre Carvalho wrote:
> Hello all
> 
>  
> 
> I starting work on a module for lighttpd and have succeded in compiling 
> from source (either downloaded from lighttpd home site and from Debian 
> packages).
> 
>  
> 
> I am working on version 1.4.13.
> 
> (Debian Etch AMD64)
> 
>  
> 
> However, the lighttpd executable file gets to 666.3k instead of the 
> 165.1k that comes with the Debian package.
> 
>  
> 
> Now, I’m afraid that I’m quite inexperienced with gcc and ld, and all of 
> linux for that matter, so I must be missing something obvious, and I 
> apologize for that.
> 
>  
> 
> I suspect that it may in fact be obvious because from all I’ve read in 
> the web on lighttpd compiling I found nothing special besides the steps 
> I took:
> 
>  
> 
> ./configure –prefix…..
> 
> make
> 
> make install
> 
>  
> 
> But no mention of CCFLAGS or LDFLAGS… Is that where my mistery is?
> 
>  
> 
> Thank you for your time
> 
>  
> 
> Alex
> 
>  
> 
> P.s.
> 
> I was thinking in offering assistance for this package (as requested)
> 
> but I obvously need more experience.

looks like you have compiled with debug information. You can use 'strip' 
command to strip out all debug informations.

   eloy




More information about the pkg-lighttpd-maintainers mailing list