wpa_supplicant minimal size
romit.chatterjee at gmail.com
Wed Nov 21 01:39:51 EST 2007
Thank you very much for the help. I really appreciate it!
> Message: 8
> Date: Tue, 20 Nov 2007 20:42:58 -0800
> From: Jouni Malinen <j at w1.fi>
> Subject: Re: wpa_supplicant minimal size
> To: hostap at shmoo.com
> Message-ID: <20071121044258.GX8672 at jm.kir.nu>
> Content-Type: text/plain; charset=us-ascii
> On Tue, Nov 20, 2007 at 02:45:57PM +0530, Romit Chatterjee wrote:
> > According to the documentation, the minimum size for wpa_supplicant with
> > WPA/WPA2-Personal* support is around 50 kB.
> > However, I haven't been able to get to that size. The lowest I could get
> > 70 kB, with almost everything turned off.
> > Can someone send me a sample .config that generates a 50 kB
> > binary with support for WPA/WPA2-Personal?
> I don't remember the exact parameters, versions, and compiler I used in
> the tests, but here's one example for a relatively small build:
> CFLAGS += -Os
> with gcc 4.1.2 for x86 produced a 61936 byte text segment (68120 bytes
> stripped binary size) when using the current 0.6.x version. I remember
> getting closer to 50 kB with some other options (and somewhat older
> code base), but yes, that was certainly disabling more or less
> everything that was not absolutely needed.
> Jouni Malinen PGP id EFC895FA
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP