This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why does libiberty have to build before a C library?
> 2003-05-21 DJ Delorie <dj@redhat.com>
>
> * Makefile.tpl (configure-target-libiberty): Depend only on gcc, not
> newlib or libgloss.
> * Makefile.in: Regenerate.
>
> DJ, that's pretty recent - could you explain why it was done?
If you add that dependency, it creates a dependency loop and the build
fails. I can dig up the old emails about it, but they were right
around the time of the patch.
Note that any dependencies between modules must be explicitly
specified via Makefile dependencies now. Please do not rely on the
order that they're listed - I can pretty much guarantee that that will
NOT work any more.