<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello List,</FONT></DIV>
<DIV><FONT face=Arial size=2>We are basically requiring a small footprint
dropbear server binary for x86 linux and have hence followed the
steps--</FONT></DIV>
<DIV><FONT face=Arial size=2>1. have downloaded dropbear-0.52 source code in
tar.gz format.</FONT></DIV>
<DIV><FONT face=Arial size=2>2. ./configure --disable-zlib
--disable-syslog</FONT></DIV>
<DIV><FONT face=Arial size=2>3. modified the Makefile to append--</FONT></DIV>
<DIV><PRE>-ffunction-sections -fdata-sections -DLTC_NO_BSWAP with CFLAGS </PRE><PRE>and
-Wl,--gc-sections with LDFLAGS</PRE><PRE>4.modified options.h file --</PRE><PRE>(attached)</PRE></DIV>
<DIV><FONT face=Arial size=2>5. make STATIC=1 MULTI=1
PROGRAMS=dropbear</FONT></DIV>
<DIV><FONT face=Arial size=2>6. strip dropbear</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We have done the above on x86 machine having FC3
linux with gcc 3.4.2 20041017.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The dropbear binary generated after the "strip" is
of size 549120 bytes i.e ~549kB.But from the msg archive I could see that
--</FONT></DIV>
<DIV><PRE><I>"A small memory footprint suitable for
</I>><I> memory-constrained environments - Dropbear can compile
</I>><I> to a 110kB statically linked binary with uClibc (and
</I>><I> only minimal options selected)."
</I></PRE><PRE><EM>Of course I am not using uClibc,but is that the reason for such a difference in the footprint?What else can I do to decrease</EM></PRE><PRE><EM>the footprint to a size of 110kB as mentioned?</EM></PRE><PRE>Please reply asap as this is kind of urgent :-)</PRE><PRE>Thanks and Regards</PRE><PRE>Sourav</PRE></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>