Dear -hackers,

I've traced the unsatisfied link error I get from the Swing demo's in the
new JDK1.2.2 port to a missing __pure_virtual symbol. It is defined in
/usr/lib/libgcc*.a. However, I suspect that I need a libgcc.so instead.

How do I convert libgcc_pic.a into libgcc.so? After looking in the mailing
list archives I tried:

  gcc -shared /usr/lib/libgcc_pic.a -o libgcc.so

This yields a shared library that defines no symbols, however. What am I
doing wrong? How do I convert a static library into a dynamic one?

I then created my own libgcc.so from the source files of libgcc_pic.a, and
that seems to work.

Why is libgcc.so not created by default?

    Kees Jan

==============================================
 You are only young once,
      but you can stay immature all your life



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to