[openbeos] Re: why an alternative ld?

  • From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 11 Aug 2002 20:19:36 EST (-0300)

> > > I suppose the stock BeOS ld knows only about the
> > > libs that came with BeOS (libroot.so, libbe.so, libstdc++.r4.so)
> > > so a modified one would be needed to link obos objects with
> > > the obos libc.so. Correct? If so, then, where can I find this 
> > > modified
> > > ld?
> > 
> > No, this has nothing to do with it. The proiblem is the BeOS ld was 
> > including some weird symbols in the resulting object files and 
> > those 
> > symbols prevented the kernel from working (as they were not 
> > available 
> > when the files looked for them). This new version just fixes this 
> > bug.
> 
> If it's just what it's all about, why not just
> 
> objcopy --strip-symbol weirdsymbol1 --strip-symbol weirdsymbol2 
> myobject.o
> 
> ?

So, you're sugesting it is better to manuallyu remove the symbols after 
linking than to actually use a ld that does not have this *BUG*? This 
sounds a bit weird to me.

-Bruno
 

--
Fortune Cookie Says:

Mickey Mouse wears a Spiro Agnew watch.


Other related posts: