On Thu, 4 Dec 2003, Luca Olivetti wrote:

> Rob Siemborski escribió:
>
> > On Mon, 1 Dec 2003, Luca Olivetti wrote:
> >
> >
> >>Rob Siemborski escribi?:
> >>
> >>>I'm pleased to announce the release of Cyrus IMAPd 2.2.2-BETA.
> >>
> >>Is it normal that 2.2.2 binaries are 3..5 times the size of the binaries
> >>in 2.1.X (not all of them)?
> >>e.g. arbitron is 701208 bytes in 2.2.2-BETA, 115832 bytes in 2.1.16 (and
> >>the same difference, more or less, applies to chk_cyrus, ctl_cyrusdb,
> >>ctl_deliver, etc.), while imapd is more or less the same size.
> >>It's a problem of my configuration or it is because there are things
> >>compiled with -g?
> >
> >
> > Many of the command line utilities now link libcyrus, where they didn't
> > before, which can cause this difference (it is a static link).
>
> Is there any way to make it into a shared library?

Yes, but why?

You can hack Makefiles or add -fPIC to CFLAGS and build the shared library
from libcyrus.a.  You will need to relink the command line utils with the
shared library.

-- 
Igor

Reply via email to