[patch] Packager files

Joshua Sumali jsumali@redhat.com
Mon Jun 16 13:57:00 GMT 2008


Andrew Haley wrote:
> Andrew Haley wrote:
>   
>> Joshua Sumali wrote:
>>
>>     
>>> Attached patch puts files aot-compile-rm, aot-compile, and
>>> rebuild-gcj-db into libjava/contrib. These files are taken from
>>> java-gcj-compat and are intended to be available for packagers. This is
>>> the second part of merging java-gcj-compat into libgcj (also see sdk
>>> styled directory patch).
>>>       
>> Thanks.
>>
>> I think we'll want these installed in $bindir.
>>     
>
> 2 more things:
>
> aot-compile as you submitted it is broken in that it imports "aotcompile".
> You didn't provide this file.
>
> We don't want aot-compile-rpm to be installed in $bindir by default, as it's
> Red Hat specific.  It's OK to put it in to contrib.  Howeverwe do want
> aot-compile to be installed.
>
> Andrew.
>
>   
Hi,
I can provide a patch for aotcompile.py, but this is originally 
generated from aotcompile.py.in from ./configure in java-gcj-compat, 
mainly to fill in these 3 lines:

PATHS = {"make":   "@MAKE@",
         "gcj":    "@GCJ_BIN_DIR@/gcj@gcc_suffix@",
         "dbtool": "@GCJ_BIN_DIR@/gcj-dbtool@gcc_suffix@"}

(which turns into something like: )

PATHS = {"make":   "/usr/bin/make",
         "gcj":    "/usr/bin/gcj",
         "dbtool": "/usr/bin/gcj-dbtool"}

Since I'm assuming these files will be used in the spec file, I don't 
think we'll be using a ./configure to fill those lines in, so should I 
just be posting the already-filled-in aotcompile.py?

Thanks,
Josh



More information about the Java-patches mailing list