help building custom libgcj

Michael Koch konqueror@gmx.de
Fri Jul 9 09:13:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Freitag, 9. Juli 2004 10:57 schrieb Martin Egholm Nielsen:
> Hi,
>> >> Now I want to re-make only the libgcj, but without AWT, GTK, or
> >> X, and with DEBUG.
> >>What I have done is make this script in
> >> gccbuild/i486-linux/libjava:
> >
> > You should just run the top level configure with those same
> > options. It will build fastjar/jar for you, and pass all those
> > configure options down to the libjava directory. We don't really
> > support building libjava on its own.
>> Will this make libgcj.so without awt, gtk, and X, as well, or what
> does these options apply to?
>> I've just tried passing these options to the Crosstool build
> scripts via the GCC_EXTRA_CONFIG, but the resulting libgcj.so.5.0.0
> is still around 50megs, and the libgcj.jar still contains awt
> packages...

You want to use strip on libgcj.so.5.0.0. This removes the debug 
symbols.
There is no configure options to not include AWT in libgcj, only the 
GTK and Xlib can be disabled.
Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA7mJiWSOgCCdjSDsRAjOIAJ94f40TOiHArHhUOU7QSUy3w0fwxwCfSTMa
yuKyIum4yNZ3OI0uvG+YwCw=
=pj8b
-----END PGP SIGNATURE-----


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /