This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why does libiberty have to build before a C library?


On Tue, Jun 10, 2003 at 12:17:17PM -0400, DJ Delorie wrote:
> 
> > 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.

Right, of course.

Well, I guess I need to figure out where that loop was and whether we
can break it some other way.  I'd really like libiberty to be built
after newlib.

Why does Cygwin need target libiberty?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]