On Wed, 2005-03-23 at 17:44 -0700, Tom Tromey wrote: > >>>>> "Anthony" == Anthony Green <green@xxxxxxxxxx> writes: > > Anthony> Here's a real-world example from the servletapi5 spec file. It > Anthony> currently assumes that we should be using `gcj-dbtool -p`. > Anthony> Comments/suggestions welcome. > > Anthony> + # Generate native code. > Anthony> + gcj $RPM_OPT_FLAGS -shared -findirect-dispatch -Wl,-Bsymbolic -o libjspapi-%{version}.jar.so jsr152/dist/lib/jsp-api.jar > Anthony> + gcj-dbtool -n jspapi-%{version}.db > [ ...] > > If it isn't too unwieldy, I would like to see this whole section > replaced by a single call to some shell script to automate the > find-compile-db loop. My goal is to make gcj-izing a jpackage RPM > utterly trivial... > If someone sends me the script I can add it to java-1.4.2-gcj-compat. Tom