[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bootstrapping GT.M



[Andreas Tille]
> Hi,
>
> I'm just forewarding the answer of upstream about the possibilities
> for the bootstrapping process ...
>
> Any comments?

I would suggest you ask upstream to include a set of generated files
in the upstream tarball, to make it possible to bootstrap the tarball
using a C compiler instead of requiring a M compiler.  It could then
as the normal build first build the M compiler using a C compiler and
the bootstrap files, next generate the same files using its freshly
built M compiler, and last build these files once or twice if it want
to check that the generated files were correct.  It would be fairly
close to how gcc does it.

It would be a lot easier to bootstrap the M compiler if it included
code to start with a C compiler, as a C compiler is available on all
distributions and architectures, while an M compiler is not.

Happy hacking,
--
Petter Reinholdtsen


Reply to: