This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: help building custom libgcj
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Freitag, 9. Juli 2004 12:26 schrieb Martin Egholm Nielsen:
> >>But how do I configure the build scripts to build libgcj.so
> >>with optimisation-level "-Os"?
> >
> > Build with "make GCJFLAGS=-Os CFLAGS=-Os CXXFLAGS=-Os".
>
> Great, I'll try to merge this into Crosstool's scripts...
>
> >>In order to avoid building, say, awt, one should modify
> >>"gcc-3.4.1/libjava/Makefile.(am|in)" and strip away all
> >> references to "awt_java_source_files"?
> >
> > This will not work as some AWT classes are referenced from
> > outside AWT. AWTException comes to my mind ...
>
> Well, I just grep'ed the entire j2sdk-1.4.2 source for references
> to AWTException, and this is what came out:
Sorry, I meant AWTPermission. Its used in java.lang.SecurityManager.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA7nh3WSOgCCdjSDsRAt5WAJ4j8Pa4+LD+Vec6FXypD1wAMTW+RgCbBYOV
LWx7Ez5WyF0lnbMZ/t3rw5E=
=0139
-----END PGP SIGNATURE-----