Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 1996 15:27:05 -0600
From:      Warner Losh <imp@village.org>
To:        "Eric J. Schwertfeger" <ejs@bfd.com>
Cc:        hackers@FreeBSD.org
Subject:   Re: How to make g++ shared libraries? 
Message-ID:  <199604172127.PAA03312@rover.village.org>
In-Reply-To: Your message of Wed, 17 Apr 1996 12:16:51 PDT

next in thread | raw e-mail | index | archive | help
: Ah, this is what John Polstra <jdp@polstra.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604172127.PAA03312>