This is the mail archive of the
mailing list for the Java project.
Re: static linking
>> gcj shouldn't need to do anything special to get the supc++ stuff,
>> it should all be put into libgcj.a, the same way it gets built into
Alexandre> Methinks explicitly linking libstdc++ in should be enough.
We don't want to do this. Java programs don't need all of libstdc++.
>> The best solution, I think, would be to make a compiler option that
>> allows you to do this more easily. eg
>> or something.
Alexandre> Good idea.
I agree. Like Jeff says, we could do this by further hacking
One more idea is that we could identify the classes needed for proper
bootstrapping and ensure that those are always linked in, for instance
by referencing them from prims.cc. Jeff, do you have this list? I
don't have time this week to look at this, but if you had the list
handy I could make a patch.
Otherwise, could someone submit a PR for this stuff so it doesn't get