Trying to embed gnu.xml.dom.DomDocumentBuilderFactory

Andrew Haley aph@littlepinkcloud.COM
Sun Apr 22 06:09:00 GMT 2007


David Daney writes:
 > Andrew Haley wrote:
 > > David Daney writes:

 > > Something has just dawned on me: all the XML stuff is built with
 > > indirect dispatch in the current libgcj, and that will break
 > > everything when linking statically!
 > >
 > > Mohsen, we build the XML stuff with indirect dispatch so that it can
 > > easily be dynamically replaced, but this is bad for you.  Edit
 > > scripts/makemake.tcl so that lines like these are removed:
 > >
 > > set package_map(gnu/xml/util) bc
 > > set package_map(javax/xml) bc
 > >   
 > We already use different options (-fPIC, etc) for shared objects.  We 
 > should probably also make the BC ABI dependent on this also.

AFAIAA all that is handled by libtool.

I'd accept patches to compile static libraries without indirect
dispatch.  However, you might not always want to do that: maybe you'd
want to use interpreted XML libraries. The default is just our "best
guess".

Andrew.



More information about the Java mailing list