adding a directory on a branch
Paolo Bonzini
bonzini@gnu.org
Fri Oct 8 11:35:00 GMT 2004
> 3. Since this is a front end written in C++, it would
> require funky modifications to the bootstrap process.
No, it is not that hard. Toplevel bootstrap provides all the logic, if
it is FSF-ly possible to separate libbackend, the driver and every
front-end into separate directories. It would be something like:
toplevel
'-- libbackend
|-- libcc (c-* files)
|-- cc1
|-- gcc (the driver)
|-- cc1plus
|-- jcx1
'-- ...
With appropriate dependencies and extra_make_flags, you could have the
jcx1 directory (and possibly cc1plus as well) use the newly built cc1
and xgcc.
This would wreck the CVS history though, unless it is done with very
special care!
> Note that since "java"
> in "--enable-languages" also needs "c++", we can probably
> assume that g++ will always be built when building GCJX
You can add some things to this extent in the toplevel configure.in.
IOW, I may give it a shot if the branch is created.
Paolo
More information about the Gcc
mailing list