This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

Re: again undefined symbol __dso_handle


On Mon, Nov 11, 2002 at 05:18:26PM +0100, Christian Mudra wrote:
> I stumbled about a strange linking behaviour of ld vs. gcc.
> Linking a shared lib with ld will lead to the __dso_symbol not found' message
> when starting a binary linked against it. Linking the shared lib with gcc,
> the bug doesn't happen.

If you add -v to the gcc command line, you will see that gcc links
against other objects.  Always use gcc to link.  It will save you a
lot of pain.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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