This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: [PATCH]: ld/Makefile.am


On Fri, Mar 10, 2000 at 06:05:39PM -0300, Alexandre Oliva wrote:
> On Mar 10, 2000, "H . J . Lu" <hjl@lucon.org> wrote:
> 
> > When collect2 calls ld-new, it sets up everything for the gcc
> > driver which calls it.
> 
> What does it mean ``to set up everything for the gcc driver which
> calls it''?  In the build tree, there isn't any program named `gcc'
> that the libtool wrapper might be running?  So why oh why is it being
> called recursively?

I think I know why it is called recursively:

1. The new gcc calls collect2.
2. collect2 calls ld/ld-new.
3. ld/ld-new uses the new gcc to relink the new ld.
4. Go to 1 until our environment avariables are too big.

It takes 4 times to get blown up.


H.J.

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