From owner-freebsd-hackers Thu Mar 23 8:49:28 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id A80A137C0BA for ; Thu, 23 Mar 2000 08:49:24 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JNDQ572YAA000YHC@research.kpn.com> for freebsd-hackers@freebsd.org; Thu, 23 Mar 2000 17:49:22 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Thu, 23 Mar 2000 17:49:22 +0100 Content-return: allowed Date: Thu, 23 Mar 2000 17:49:19 +0100 From: "Koster, K.J." Subject: getting a libgcc.so To: 'FreeBSD Hackers mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522013139CB@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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