This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: automatic dependencies for gcc
On Wed, Mar 26, 2008 at 1:20 PM, Tom Tromey <tromey@redhat.com> wrote:
> >>>>> "Richard" == Richard Guenther <richard.guenther@gmail.com> writes:
>
> Richard> It seems that changes in builtins.def or builtin-types.def do
> Richard> not cause re-builds of their dependencies.
>
> I'm officially an idiot. Patch appended.
>
> A while back I was thinking, "I wish I got more response to my patches".
> I'm kind of regretting that now.
If you touch Makefile.in and then do make -j2 cc1, make goes into an infinite
loop for me (3.81).
It hangs at
...
/bin/sh /space/rguenther/src/svn/trunk/gcc/../move-if-change
tmp-mlib.h multilib.h
echo timestamp > s-mlib
while make cc1 (without -j2) continues with
echo timestamp > s-mlib
lsf="/space/rguenther/src/svn/trunk/gcc/cp/lang-specs.h
/space/rguenther/src/svn/trunk/gcc/fortran/lang-specs.h"; for f in
$lsf; do \
echo "#include \"$f\""; \
done | sed 's|/space/rguenther/src/svn/trunk/gcc/||' > tmp-specs.h
/bin/sh /space/rguenther/src/svn/trunk/gcc/../move-if-change tmp-specs.h specs.h
echo timestamp > s-specs
Richard.