This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstrap compilers (Was: 3.2 PATCH: Fully support parallel gnat1...)


On Friday, May 24, 2002, at 02:21 , Zack Weinberg wrote:
> [People building from scratch starting with a C compiler other than
> GCC are up a creek, but I believe that has always been the case for
> the Ada front end.]

Note that in this case one builds using whatever wierd non-GCC
compiler to bootstrap, it is always best to first compile GCC enabling
the C language only. Then use that new compiler to build all languages.

In fact, I think this is a very reasonable procedure and we might 
consider
doing this by default. I don't see for example, why the Fortran and Java
compilers need to worry about compatibility with arbitrary old or broken
compilers.

Also this would speed up the bootstrap process, since we would compile
the ObjC/C++/Fortran/Java compilers and libraries just twice. Once
with the stage1 GCC compiler and once with the stage2 compiler.
GNAT would still need a full 3-stage bootstrap of course.

   -Geert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]