On Mon, 14 Jul 2003, Andreas Aardal Hanssen wrote:

> Hi Adrian,
>
[snip]

> >4. Does it compile Ok on FreeBSD 4.7?
>
> Yes, note that Sergei Kolobov has a FreeBSD port for Binc IMAP.
>
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/bincimap/
>

Well, I did the obvious thing and grabbed the source tarball then fired
up the compiler. All options left at default values.

I end up with a bincimapd binary which is 31,134,575 bytes in size! Even
after a strip it's 1,907,040 bytes. Surely this isn't right? I'm sure I
didn't ask for a static build...

Platform is

FreeBSD 4.7-STABLE
binc 1.1.8
gmake 3.80
gcc 2.95.4

I can see while compiling that optimisation is set to -O2 but -g is also
there so I guess I need to turn debugging off (aren't these two options
sort of mutually exclusive?)

-Adrian


Reply via email to