DragonFly bugs List (threaded) for 2005-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: ld linking against wrong libs
:On Thu, Apr 07, 2005 at 07:10:31PM +0200, Joerg Sonnenberger wrote:
:> On Thu, Apr 07, 2005 at 07:00:33PM +0200, Eirik Nygaard wrote:
:> > [eirik@shuttle]~/<1>test> /usr/libexec/binutils215/elf/ld /usr/lib/crt1.o -L/usr/lib -lc ld.o -o ld
:>
:> Surely doesn't this work. You don't correctly specify the link flags for
:> dynamic linking, e.g. you don't set the ELF interpreter (rtld).
:
:OK, the old version from FreeBSD did include a default value, but
:I'm not sure if that is better. Anyone linking directly using ld
:should know what to do and I'd prefer to just remove that
:example from the man page. It is incomplete anyway (only half of
:the CRT files included e.g.).
:
:Matt, any objection to keep the status quo?
:
:Joerg
I think we should keep the status quo. Nobody should be doing manual
links against the crt's. That's all internal compiler/linke voodoo.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]