Date: Mon, 12 May 1997 08:44:42 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: hackers@freebsd.org Subject: Re: g++ shared library segfaults (SOLUTION) Message-ID: <199705121244.IAA01947@hda.hda.com> In-Reply-To: <199705111907.MAA15415@austin.polstra.com> from John Polstra at "May 11, 97 12:07:45 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> The "right" way to do it on older systems is to set "CPLUSPLUSLIB=true" > in the Makefile (assuming that <bsd.lib.mk> is being used). If > you're not using <bsd.lib.mk> then yes, it's necessary to manually > link in c++rt0.o for C++ shared libraries. > > As you mentioned, on recent -current systems, "gcc -shared" does the > right thing, and CPLUSPLUSLIB is not needed. I'm going to bring > that same functionality into the -2.2 branch soon. Ptolemy will be a port that uses gmake. "-shared" for both branches will be good. -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705121244.IAA01947>