[cp-patches] Patch: FYI: add gcjh tool

Andrew Haley aph at redhat.com
Fri Mar 16 12:57:38 UTC 2007


Tom Tromey writes:
 > I'm checking this in.
 > 
 > We wanted to add a gcjh compatibility tool, and since it required some
 > minor refactoring in javah, it seemed best to keep this in the
 > Classpath tree.

The gcjh compatibility tool isn't compatible.  It writes its output
file to the wrong place.

Say, for example, we're in a directory called com/lowagie/text/pdf.
We then execute

   gcjh --classpath=. AcroFields -force

the old gcjh writes AcroFields.h to the current working directory, but
your new gcjh compatibility tool writes to
./com/lowagie/text/pdf/AcroFields.h

This breaks real-world gcj makefiles.

This is preventing the only outstanding gcj dependency in Fedora from
building.

Andrew.



More information about the Classpath-patches mailing list