Reducing static binary size [also: -ffunction-sections, and 'where did Adam go?']

Tom Tromey tromey@redhat.com
Wed Feb 20 11:27:00 GMT 2002


>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:

Adam> Speaking of, my stuff requires -ffunction-sections. Since my
Adam> suggestion for a --with-jc1-option configure flag sort of fell
Adam> flat, what do you all think of making -ffunction-sections the
Adam> default for libgcj (just like libstdc++-v3)? It would probably
Adam> make sense to enable it on a platform-by-platform basis, as it
Adam> is tested.

I'm ok with the idea in principle.  I'm a bit concerned about making
this change for 3.1, since I don't know what the risks might be.

Tom



More information about the Java mailing list