Reducing static binary sizes

Andrea aime andrea.aime@aliceposta.it
Mon Jan 9 12:19:00 GMT 2006


Anthony Green wrote:
> 
> If I understand your question, then yes.  Just link normally with gcj
> -v.  The -v option tells the compiler to be verbose about what it's
> doing.  Look at the list of objects files and libraries that it uses in
> the link.  Then link again, this time with gcj -nostdlib and use that
> entire list of object files and libraries, simply replacing -lgcj with
> your own version.

Yes, that's exactly what I was looking for. Thank you :-)

Cheers
Andrea Aime




More information about the Java mailing list