This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj on small system
- From: Clemens Eisserer <linuxhippy at web dot de>
- To: java at gcc dot gnu dot org
- Date: Mon, 26 Apr 2004 19:57:07 +0200
- Subject: Re: libgcj on small system
- References: <001301c42b9b$f11ab0c0$89e96251@abg2>
Hi!
libgcj on my host is 73.7MB - libgcj.so.4.0.0 in /usr/local/lib.
Is this the file I must have on my target?
Right, except you link statically. If you use the -static switch all
needed stuff is included.
Your 73.7mb libgcj seems to include the whole debug-stuff and so on.
If you don't need it for development, try strip -s libgcj.so, a
statically binary can be shrinked the same way (down to ~2mb).
What other files must be on the target to run by gcj program?
Simply create a dynamically linked file, and run ldd on this rogram and
on all shared-libraries that are listed. That should be everything needed.
Good luck, lg Clemens