Re: Cheatsheet for building gcc

2007-01-16 Thread Paolo Bonzini
with the changes to the build system in the last few months, I am having problems to do some things I am used to do during development. I found more or less satisfactory procedures for most them, however, I would like to know the "official" way how to achieve those effects (and to put the creat

Re: Cheatsheet for building gcc

2007-01-16 Thread Paolo Bonzini
Richard Kenner wrote: Q2) How to bootstrap the compiler, but not build any time consuming libraries (libjava, libstdc++)? A2) "make stage{2,3,feedback}-bubble" Can you say what the differences between these three are? Which is the equivalent of the old "cd gcc; make bootstrap"? They wil

Re: Cheatsheet for building gcc

2007-01-16 Thread Paolo Bonzini
if you configure with --enable-stage1-languages=all, 1) will all the libraries be built three times during bootstrap, or just once? Just once. Things that are built three times are only those that have "bootstrap=true" in the Makefile.def file. Paolo

Re: Cheatsheet for building gcc

2007-01-16 Thread Richard Kenner
> > Q2) How to bootstrap the compiler, but not build any time consuming > > libraries (libjava, libstdc++)? > > A2) "make stage{2,3,feedback}-bubble" Can you say what the differences between these three are? Which is the equivalent of the old "cd gcc; make bootstrap"? > > Q4) How to compile

Re: Cheatsheet for building gcc

2007-01-16 Thread Zdenek Dvorak
Hello, > >Is there a way how to do it without reconfiguring gcc? > > No. Do you think it would be best to have --enable-stage1-languages=all > in non-release branches? The time taken to compile the stage1 > (nonoptimized) non-C front-ends is small, and the advantage seems > significant. if

Re: Cheatsheet for building gcc

2007-01-16 Thread Paolo Bonzini
Is there a way how to do it without reconfiguring gcc? No. Do you think it would be best to have --enable-stage1-languages=all in non-release branches? The time taken to compile the stage1 (nonoptimized) non-C front-ends is small, and the advantage seems significant. Q6) How to clean u

Re: Cheatsheet for building gcc

2007-01-16 Thread Zdenek Dvorak
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 hav

Re: Cheatsheet for building gcc

2007-01-15 Thread Paolo Bonzini
Q1) How to bootstrap the compiler, including all libraries? A1) "make" from the top directory Could some of the build system experts please provide the answers for the following questions? Q2) How to bootstrap the compiler, but not build any time consuming libraries (libjava, libstdc++)?

Cheatsheet for building gcc

2007-01-15 Thread Zdenek Dvorak
Hello, with the changes to the build system in the last few months, I am having problems to do some things I am used to do during development. I found more or less satisfactory procedures for most them, however, I would like to know the "official" way how to achieve those effects (and to put the