This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: At last: the bool problem seems to be due to omitted dependencyfrom make check*
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Tim Josling <tej at melbpc dot org dot au>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Sat, 1 Mar 2003 16:23:26 +0000 (GMT)
- Subject: Re: At last: the bool problem seems to be due to omitted dependencyfrom make check*
On Sat, 1 Mar 2003, Tim Josling wrote:
> The problem I had in this case was that the system cc didn't like -fstats so
> it failed. To me, the stdbool only seems to solve part of the problem, which
> is that suddenly we are building part of the compiler with a wrong compiler.
> How would this work with C++?
Both problems should be solved, but the dependency one is intrinsically
hard to solve. After all, if you change toplev.c, it should first rebuild
to stage1 toplev.o with the bootstrap compiler, then relink the stage1
compiler, then rebuild stage2 and stage3, if the dependencies are properly
correct. Properly correct dependencies should mean exposing all
dependencies, between all stages, to one invocation of make, but this
can't work because each stage needs to be built separately, with the files
in the same location (not in the stage subdirectory), for the compare
stage to succeed.
--
Joseph S. Myers
jsm28 at cam dot ac dot uk