This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Small footprint on Embedded system
- From: Tom Tromey <tromey at redhat dot com>
- To: Pete Kelly <ramsfanxxxiv at yahoo dot com>
- Cc: gcj mail list <java at gcc dot gnu dot org>
- Date: 24 Sep 2002 14:13:17 -0600
- Subject: Re: Small footprint on Embedded system
- References: <20020923024640.42087.qmail@web14608.mail.yahoo.com>
- Reply-to: tromey at redhat dot com
>>>>> "Pete" == Pete Kelly <ramsfanxxxiv@yahoo.com> writes:
Pete> I am trying to get a small (<100K) java application to run on an
Pete> embedded system that has stringent memory constraints.
Pete> My question is, what the @#$% is my question? Oh yeah, am I
Pete> leaving out some build step that requires the copying of the .so
Pete> files? Is there a way to recompile gcc/gcj to greatly reduce
Pete> the size of the .so files?
This topic comes up periodically. We have some ideas for how to
reduce the footprint of libgcj, but so far nobody has implemented
them.
Adam Megacz has a script which might help. I don't remember what it
does exactly :-(, or where to find it. You'd have to search the
archives.
Linking statically will probably help some. Sometimes there are
tricks to getting this to work correctly. Again, this is in the list
archives.
Tom