This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cheatsheet for building gcc
Hello,
thanks a lot for the answers!
> >Q4) How to compile all the libraries (libjava, ...) using the stage1
> > compiler?
>
> A4) Configure with --enable-stage1-languages=all
Is there a way how to do it without reconfiguring gcc? This question
aims at the following situation: I already have compiled the stage1
compiler with a patch, and I have learned from some external source
that the compiler ICEs during the compilation of libjava. Since it
is highly unlikely that bootstrapping the compiler would matter,
I would like to be able to just start building libjava using stage1
compiler. Reconfiguring gcc and building it from scratch takes
some time, so I would like to avoid that.
> >Q6) How to clean up everything except for the stage1 compiler and
> > its runtime (libgcc, libmudflap, libgomp)?
>
> make restrap (which will also start a bootstrap)
Would it be possible to add a possibility to just clean up the things,
without restarting the bootstrap (i.e., to move everything to the
state I would have after "make stage1-bubble" if I started from the scratch)?
Zdenek
> >And of course, how to do any other useful things that I have forgotten
> >about...
>
> I would like to ask if, in your opinion, libssp, libmudflap and libgomp
> should be bootstrapped like libgcc is. I would think that, for
> automatic parallelization, you'd need at least libgomp.
>
> In this case, the answer to Q3 would be simply "make stage1-bubble".
>
> Paolo