>>>>> "Tom" == Tom Tromey <tro...@redhat.com> writes:

Tom> I wanted to mention this explicitly, since last time around this series
Tom> tripped across a GNU make bug.  If you see any problems, please report
Tom> them and CC me.  I will look into them as soon as I am able.

Oops, I meant to write a bit more here before sending.


You will need to do a clean build in order for the dependencies to
actually take effect.  In this approach, dependencies are computed as a
side effect of the build -- but obviously that was not true before the
patch series.  So, after you update, you effectively have no
dependencies.


If you look in the tree you will see there are still dependencies for
host objects and in various t-* files in config/.

The latter are easy to convert; see the "t-i386" and "t-glibc" patches.
The key is to ensure that (1) dependencies are in fact created (search
the .deps directory), (2) dependencies are used (see the DEPFILES code
at the end of gcc/Makefile.in), and (3) any generated files are either
in generated_files or have an explicit dependency (the t-i386 change has
an example of the latter).

I don't plan to convert the host objects.  However I think it isn't
extremely hard, following the existing model.


thanks,
Tom

Reply via email to