Date: Wed, 4 Dec 2002 20:36:57 +0100 From: Anton Berezin <tobez@FreeBSD.org> To: "Simon L. Nielsen" <simon@nitro.dk> Cc: Palle Girgensohn <girgen@pingpong.net>, freebsd-ports@freebsd.org Subject: Re: libperl @ 5.0? Message-ID: <20021204193657.GC53713@heechee.tobez.org> In-Reply-To: <20021204184829.GA75082@nitro.dk> References: <64570000.1038916680@palle.girgensohn.se> <20021203205417.GA56669@rot13.obsecurity.org> <17950000.1038958165@palle.girgensohn.se> <20021203234909.GC372@nitro.dk> <70310000.1038964840@palle.girgensohn.se> <20021204182405.GO25797@heechee.tobez.org> <20021204184829.GA75082@nitro.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 04, 2002 at 07:48:29PM +0100, Simon L. Nielsen wrote: > On 2002.12.04 19:24:05 +0000, Anton Berezin wrote: > > > > I reckon... Hmmm... Either we need to install libperl.so, or get plperl to > > > statically link. I don't know enough about statically linking .so-files... > > lang/perl5 does not create nor install shared perl library. The reason > > for this is that there are not many programs which embed perl, and that > > the perl binary itself is slightly faster when linked with libperl.a. > > It is not something I would fight over, though, meaning that lang/perl5 > > can be changed to produce libperl.so, if that is what people want. > Is it possible to make the port produce both the .a and the .so file ? > Wouldn't this would solve the problem for programs embeding perl, without > losing speed in case of the normal perl program. To add to my previous message: most programs embedding perl won't have the problem with libperl.a; only particularly clever builds, like plperl, are affected. That is, a program must actively resist being linked with libperl.a, since normally perl's Config.pm tells you what compiler/linker options to use to embed this particular perl build (man perlembed for details). Of course, there might be a good reason for such resistance. \Anton. -- | Anton Berezin | FreeBSD: The power to serve | | catpipe Systems ApS _ _ |_ | http://www.FreeBSD.org | | tobez@catpipe.net (_(_|| | tobez@FreeBSD.org | | +45 7021 0050 | Private: tobez@tobez.org | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021204193657.GC53713>