This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Binary size of statically linked java application
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: "Lehner, Michael" <michaellehner at siemens dot com>, Marco Trudel <mtrudel at gmx dot ch>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 27 Nov 2006 06:43:14 -0600
- Subject: Re: Binary size of statically linked java application
- Reply-to: gnustuff at thisiscool dot com
Hi All,
>I usually remove AWT/Swing (the whole GUI stuff) and the whole
>javax.crypto stuff. Then a real application is about 4.5mb (stripped of
>course).
I'm not clear on why this would work given that the linker is supposed
to strip out unused code.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/