[Bug java/32619] New: -static-libgcj includes entire gnu classpath (>30MB executable from 95byte source)

2007-07-03 Thread woody77 at gmail dot com
ssigned at gcc dot gnu dot org ReportedBy: woody77 at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32619

[Bug java/32619] -static-libgcj includes entire gnu classpath (>30MB executable from 95byte source)

2007-07-03 Thread woody77 at gmail dot com
--- Comment #1 from woody77 at gmail dot com 2007-07-04 02:40 --- Same behavior with the "old style" method: > gcj -c Foo.java > gcj --main=Foo -save-temps Foo.java > gcc -o Foo2 Foo.o Foomain.i -shared-libgcc -Wl,-non_shared -lgcj > -Wl,-call_shared -lsupc

[Bug libgcj/32619] -static-libgcj includes entire gnu classpath (>30MB executable from 95byte source)

2007-07-04 Thread woody77 at gmail dot com
--- Comment #4 from woody77 at gmail dot com 2007-07-04 19:22 --- Marco, thanks for the pointer to JNC. I'm targeting an embedded platform, with only 32MB of storage, so reducing the classes needed is mandatory. >From the size of the executable, it looked like the linker