This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Building libgcj without optimization
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: tromey at redhat dot com
- Cc: java at gcc dot gnu dot org
- Date: Thu, 12 Sep 2002 15:35:03 +0100 (BST)
- Subject: Building libgcj without optimization
- References: <E17p6zE-0006ur-00@majestix.konqueror.de><87lm68m7az.fsf@fleche.redhat.com>
Is there an easy way to make libgcj do what gcc does, i.e. only use -O2
when you build from the top level?
Building without optimization is a pain because -O2 doesn't appear in
the Makefile.am but is inherited from above; there's nothing I can see
that you could change to -O0.
Other suggestions welcome.
Thanks,
Andrew.