Date: Wed, 9 Sep 1998 02:10:01 -0700 (PDT) From: Martin Cracauer <cracauer@cons.org> To: freebsd-bugs@FreeBSD.ORG Subject: Re: gnu/7811: Patch to build Objective C library shared Message-ID: <199809090910.CAA15543@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/7811; it has been noted by GNATS. From: Martin Cracauer <cracauer@cons.org> To: Martin Cracauer <cracauer@cons.org>, 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 <cracauer@cons.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809090910.CAA15543>