This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Build libgcj, libgcj-tools, and libffi as shared libraries on Windows


Aaron W. LaFramboise wrote:
> This patch builds libgcj, libgcj-tools, and libffi as DLLs on Windows.
> 
> Autoimport is used in the final link of some of the tools.  This is OK
> for now, but suboptimal in the long run.  I'll address this later by
> adding the proper decorations.
> 
> This massively reduces the size of a full GCC installation on Windows.
> Most of the tools go from being about 44 MB to about 20 KB.

Quite right too.

> The DLL itself is pretty massive, weighing in at 70 MB (29 MB stripped),
> and a massive 82217 exports.  In the future, it might possible to
> improve this situation by linking by ordinal.

Maybe you don't use libgcj.ver or some equivalent?  I have no idea
if you're even using GNU ld.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]