As suspected, eg++ is using libstdc++.a, not libstdc++.so.2, as it
should.

How does this get fixed?

tomdean

==============================================

# g++ -m486 -O2 hello.cc -o hello
# ldd hello
hello:
        libg++.so.4 => /usr/lib/libg++.so.4 (0x28051000)
        libstdc++.so.2 => /usr/lib/libstdc++.so.2 (0x28093000)
        libm.so.2 => /usr/lib/libm.so.2 (0x280ce000)
        libc.so.3 => /usr/lib/libc.so.3 (0x280e9000)

# eg++ -m486 -O2 hello.cc -o hello
# ldd hello
hello:
        libm.so.2 => /usr/lib/libm.so.2 (0x2805e000)
        libc.so.3 => /usr/lib/libc.so.3 (0x28079000)


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to