From owner-freebsd-hackers Wed Apr 17 14:27:26 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA08838 for hackers-outgoing; Wed, 17 Apr 1996 14:27:26 -0700 (PDT) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA08833 for ; Wed, 17 Apr 1996 14:27:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by rover.village.org (8.7.5/8.6.6) with SMTP id PAA03312; Wed, 17 Apr 1996 15:27:06 -0600 (MDT) Message-Id: <199604172127.PAA03312@rover.village.org> To: "Eric J. Schwertfeger" Subject: Re: How to make g++ shared libraries? Cc: hackers@FreeBSD.org In-reply-to: Your message of Wed, 17 Apr 1996 12:16:51 PDT Date: Wed, 17 Apr 1996 15:27:05 -0600 From: Warner Losh Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk : Ah, this is what John Polstra pointed out. : > You must include "/usr/lib/c++rt0.o" near the front of your "ld" command : > line when creating C++ shared libraries. E.g., Cool. I knew that I had done something and it worked... I tought that g++ did that automatically. That is g++ -o foo.so.1.0 foo.so called ld more or less like ld -o foo c++rt0.o foo.so ... But maybe it was all done in the magic of the Makefile that made this work. : Is there a free OI kit for FreeBSD? I've heard good things about it, and : would like to try it, but couldn't find it under ports. Sadly, no. I had a port ready to go and a large number of problems reared their ugly heads and it never happened. It will likely *NEVER* happen, even though the code compiles just fine on FreeBSD... The code base was sold to a company that has no interest in these sorts of things. Warner