Date: Thu, 23 Mar 2000 17:49:19 +0100 From: "Koster, K.J." <K.J.Koster@kpn.com> To: 'FreeBSD Hackers mailing list' <freebsd-hackers@freebsd.org> Subject: getting a libgcc.so Message-ID: <59063B5B4D98D311BC0D0001FA7E4522013139CB@l04.research.kpn.com>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59063B5B4D98D311BC0D0001FA7E4522013139CB>