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: Java Patches: -fno-org-xml-sax and -fno-org-w3c-dom


On 1 Dec 2002, Anthony Green wrote:
> On Sun, 2002-12-01 at 09:55, Jeff Sturm wrote:
> > Alternatively, if -l-org-xml-sax and -l-org-w3c-dom aren't linked
> > automatically, existing binaries are unaffected and no front-end changes
> > are required.  Those who need the libraries can just add the linker flags
> > (or use xerces)
>
> This goes against one of our unwritten rules, which is that JDK-like
> behaviour should not require extra flags.  Is it time to revisit this?

Yeah, that's a hard problem.

I'll re-read Per's ideas.  I also like runtime linking via libltdl, *if*
we can avoid the class symbol references that cause undefined symbols at
link time.  Ideally instead of a link failure you'd have a
ClassNotFoundException at runtime, just like the JDK.

Perhaps I'll investigate why -fno-assume-compiled doesn't work.

Jeff


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