In article <m3mzpxbf36.fsf@redrat.quark.de>,
gelbeiche <borstel@fliegenpilz.de> wrote:
>gcc was built with "--disable-shared" so the linker does not try link against
>the shared libraries.
I don't think this is true. --disable-shared means that you won't
create any shared libraries when building GCC, but I think it will still
use them if they exist. When you do the link the linker is going to use
its default behavour, which on HP-UX is to look for shared libraries
first.
Try adding -static to your link line. The linker may be finding
an old shared libstdc++ from an earlier GCC build/installation.
Re: Shared Library Unresolved References ... it's the linker that does all the work. ... just not the same work as Win32 linker.... on AIX shared libraries are much more similar to Win32 DLLs then ... On Solaris and Linux, linking the DSO with -Wl,-z,defs (as Chuck ... (comp.unix.programmer)
Re: How to eliminate unnecessary shared libraries from binary? ... > The executable is always linked with the 3 shared libraries... The linker can't know that. ... then all the other exes should run just as well. ... In order to understand recursion you must first understand recursion. ... (comp.unix.programmer)
Re: Tools to modify shared libraries ... Symbol resolution is a fundamental part in linking.... I know of no way to do this in the case of shared libraries.... the linker *cannot* resolve any references to ... mailing list from any further discussions on this dead-end thread.... (freebsd-questions)
Re: Tools to modify shared libraries ... Symbol resolution is a fundamental part in linking.... I know of no way to do this in the case of shared libraries.... the linker *cannot* resolve any references to ... mailing list from any further discussions on this dead-end thread.... (freebsd-stable)
Re: Tools to modify shared libraries ... The linker knows which libraries are ... them to bsd syscalls to allow linux shared libraries (specifically, ... This works fine for the old flash plugin since that shared library did ... (freebsd-questions)