Wireshark mailing list archives

Diet Libwireshark


From: "Clint Thomas" <cthomas () Soneticom com>
Date: Mon, 2 Nov 2009 08:13:45 -0500

Hey all,

After a series of trials and errors, I was finally able to successfully cross-compile a working T-Shark for my 85xx 
platform. However, what I have come to find is that Libwireshark.so weighs in around 32MB (after stripping symbols), 
which is far too big for the size of my flash RFS image.

Reading around a bit, it seems like I should be able to reduce the size of Libwireshark by removing dissector code that 
goes unused in my application. To do this, I tried removing the source entries from ./epan/dissectors/Makefile.in, and 
rebuilding the application, however this did not result in a reduced size for Libwireshark.

I was hoping somebody on this list could clarify where I might be going wrong in this approach, or if there is a better 
way to reduce the size of Libwireshark dramatically (I would like it to only be a few MB if at all possible)

Thanks,

Clinton Thomas
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: