IcedTea6 1.2 Released!
Andrew John Hughes
gnu_andrew at member.fsf.org
Mon Jul 14 06:29:09 PDT 2008
2008/7/14 Joshua Sumali <jsumali at redhat.com>:
> Anthony Green wrote:
>>
>> Mark Wielaard wrote:
>>>
>>> Hi Anthony,
>>>
>>> On Wed, 2008-07-09 at 19:26 -0700, Anthony Green wrote:
>>>
>>>>
>>>> I got on my flight that day and looked at the IcedTea src tree for the
>>>> first time, then quickly realized I wasn't going to be able to do this in a
>>>> vacuum.
>>>>
>>>> First question for the IcedTea hackers: where in the tree should my
>>>> source code live? It looks like there are a few viable spots.
>>>>
>>>
>>> Yes, there are indeed a couple of ways to extend icedtea/openjdk
>>> depending on how big and how invasive your change is.
>>>
>>
>> Thanks for explaining this, Mark. I'm proceeding with the overlay
>> approach. It's taking some time to figure out the build system. Any tips?
>> Builds take forever.... and I don't know how to test my changes without
>> starting the build pretty much from scratch.
>>
>> AG
>>
>>
>
> While I'm not too familiar with how the overlay stuff works, I think you can
> just delete the relevant changed parts (compiled classes, for example) and
> let make take care of the rest. It should save a lot of time not having to
> build hotspot each time you change something. I'll also typically pass
> --disable-docs to ./configure to stop javadoc from being generated, and also
> --with-parallel-jobs=3 since I do most of my builds on my dual core machine.
> It speeds things up considerably :)
>
> HTH,
> Josh
>
You should be able to delete stamps/overlay.stamp (so the overlay
files are recopied) and run make again.
The options Josh mentions are also very useful for speeding up builds.
Once you have a build of IcedTea,
it's probably worth copying that somewhere on your system (assuming
you don't already have an IcedTea package)
and using the --with-icedtea and --with-icedtea-home options to use
that. This avoids having to build twice
(once to bootstrap with ecj/gcj, and once to build icedtea with icedtea).
--
Andrew :-)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list