From owner-freebsd-hackers Thu Sep 14 14:57:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 0CF7837B422 for ; Thu, 14 Sep 2000 14:57:41 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id OAA06012; Thu, 14 Sep 2000 14:57:33 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id OAA02976; Thu, 14 Sep 2000 14:57:33 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Thu, 14 Sep 2000 14:57:33 -0700 (PDT) Message-Id: <200009142157.OAA02976@vashon.polstra.com> To: hackers@freebsd.org Cc: nate@yogotech.com Subject: Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1 In-Reply-To: <200009142151.PAA24562@nomad.yogotech.com> References: <4F88710E19D4D311B36A00508B08FD0F2C84DA@nyplme11.neuilly.ratp> <200009141644.KAA17770@nomad.yogotech.com> <200009142131.OAA02822@vashon.polstra.com> <200009142151.PAA24562@nomad.yogotech.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <200009142151.PAA24562@nomad.yogotech.com>, Nate Williams wrote: > > True. But if we just make it link against "-lgcc" then knowledgeable > > users can always add "-static" if they know how to deal with the > > consequences and they need the performance. > > Ahh, but -static implies the entire enchilada is linked static, which > may not be the case. :( Then you can sprinkle in the appropriate "-Wl,-Bstatic" and "-Wl,-Bdynamic" options in the right places. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message