From owner-freebsd-bugs Wed Sep 9 02:10:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10761 for freebsd-bugs-outgoing; Wed, 9 Sep 1998 02:10:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA10741 for ; Wed, 9 Sep 1998 02:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA15543; Wed, 9 Sep 1998 02:10:01 -0700 (PDT) Date: Wed, 9 Sep 1998 02:10:01 -0700 (PDT) Message-Id: <199809090910.CAA15543@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Martin Cracauer Subject: Re: gnu/7811: Patch to build Objective C library shared Reply-To: Martin Cracauer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/7811; it has been noted by GNATS. From: Martin Cracauer To: Martin Cracauer , FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: gnu/7811: Patch to build Objective C library shared Date: Wed, 9 Sep 1998 11:09:02 +0200 In <19980909003452.42389@kublai.com>, Brian Cully wrote: > On Mon, Sep 07, 1998 at 06:00:41PM +0200, Martin Cracauer wrote: > > The lib is < 80 KB. That isn't worth the slowdown, IMHO. > > You are probably correct. I hadn't done any timings to gauge the > effects of the slowdown. I'm not sure whether or not it's a good > idea anymore. Without the shared bits, you lose when changing base > objects between revisions, which is one of Objective C's strong > points (due to it's run-time indirection of methods). Hm, I think I would prefer to link statically exactly for that reason: The compiler generates code that depends on one specific method lookup implementation. You might loose all your working binaries compiled with an older compiler when you upgrade to a newer compiler+runtime system if libobjc is statically linked. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message