[Xapian-discuss] RE: PHP xapian.so size and build times
Olly Betts
olly at survex.com
Thu Oct 21 15:07:34 BST 2004
On Thu, Oct 21, 2004 at 09:46:44AM -0400, Mike Boone wrote:
> Olly, thanks for looking into it some more. I'm not sure why my file sizes
> were so big.
>
> I looked up the versions I'm compiling with. This is a Red Hat Enterprise AS
> 2.1 box.
> GCC: 2.96-128.7.2
I bet that's the culprit. Redhat took a development version of GCC and
used it as the basis for their compiler for a while. The main idiocy
I've encountered before is that it produces object files incompatible
with both 2.95 and 3.0:
http://gcc.gnu.org/gcc-2.96.html
But I've heard other problems with it. It appears Redhat have made 128
revisions to the RPM, which is probably not a good sign.
> How do you record those real/user/sys times?
Run a command with "time " in front. It is a built-in in some shells
(bash for instance), and also a command. The two may have different
output formats, but contain similar information.
> The 3.7MB stripped version works OK for me, so for now I'm not worried about
> it, but it would be nice to get the small files you're seeing.
Problem is you probably can't just upgrade the compiler without
rebuilding heaps of stuff - PHP, Xapian, and any libraries either
uses...
Cheers,
Olly
More information about the Xapian-discuss
mailing list