* Anthony Green green@redhat.com [2005-03-24 20:30]:
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...
<snip>
The best we might hope for is probably something like...
gcj-nativify -build SRC_JARFILE DEST_SO_NAME BUILD_OPTIONS
Then we could have another little script to replace:
DB=`gcj-dbtool -p %{_libdir}` rm -f $DB gcj-dbtool -n $DB (cd $DB.d; ls . | xargs gcj-dbtool -m $DB $DB)
How about the attached three scripts? gcj-findandnativify.sh is kinda flaky, but it'll work well for us during the eclipse build procedure (I'm testing a build now). I've attached a patch to the current eclipse.spec and it simplifies things greatly. Comments welcome.
Could these go in java-gcj-compat? Or maybe as RPM macros?
Tom Fitzsimmons has offered to put these in java-gcj-compat.
Andrew