[Xapian-discuss] xapian-bindings compile creates 34mb xapian_wrap.o file?

Eric Parusel eparusel at creativens.com
Mon Oct 18 21:15:10 BST 2004

Olly Betts wrote:
> On Mon, Oct 18, 2004 at 11:34:51AM -0700, Eric Parusel wrote:
>> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/tcl8.3 -Wall 
>>-Wno-unused -Wno-uninitialized -g -O2 -c xapian_wrap.cc 
>>-Wp,-MD,.deps/xapian_wrap.TPlo  -fPIC -DPIC -o .libs/xapian_wrap.o
>>Pauses here for a few minutes, first with a 100MB cc1plus process, then
>>a 200MB an?  process?
> The C++ source file SWIG generates is rather large and it takes GCC a
> while to deal with it.  I don't think there's much we can do about
> that (the SWIG and/or GCC developers might).

Ah, ok... the installed (stripped) xapian.so in /usr/lib/tcl8.3 is
3994416 bytes...
Sorry for the alarm, I've just never seen that happen before :)

By the way, I haven't been able to find examples for using TCL bindings
with Xapian -- does anyone have some?
TCL is very foreign to me :(

pgsql supports PL/Tcl:
so I'm looking into using that to interface with xapian...


More information about the Xapian-discuss mailing list