Re: [CVS] commit

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Wed Sep 09 1998 - 19:42:10 EDT


Godmar Back writes:
> Another thought about the bootstrap sequence, that is, the first part of it:
>
> all -> install -> derived-files
>
> ...
>
> So, it must be
>
> all -> derived-files -> install.

Yep.

> For the second part of the bootstrap sequence (verifying that kaffe
> can in fact compile its own libraries), we can't simply repeat
> "derived-files", because now we must use the newly built
> Kaffe/javac. So something like
>
> make derived-files "JAVAC=$objdir/..../javac"
>
> will be required.

My assumption here was that if you said "make install" then the
next time you ran "javac" you'd be getting the one you just installed,
so that "$objdir/..../javac" and "javac" would run the same code.

A larger problem is that the dependencies are recursive, so you can never
really be sure, eg.

  Klasses.jar depends on:
    - the classes used by the compiler to build it (including Klasses.jar)
    - the java runtime used to run the compiler
  Kaffe and kaffeh depend on:
    - the derived header files
  The derived header files depend on:
    - Klasses.jar
    - the version of kaffeh used to generate them

Etc..

That's why to me the easiest thing is to just run some automated
script that rebuilds, reinstalls, and regenerates everything a few
times, then saves it :-)

By the way, if you want to tweak more Makefiles or whatever while
this discussion is still fresh please go ahead because I've gotten
busier with work this past few days and it make take a while before
I can work on them.

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:56:56 EDT