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.