[Libreoffice] building index at Win32 install time ...

Tor Lillqvist tlillqvist at novell.com
Mon Jan 31 12:19:12 PST 2011


> I can answer this quickly.  The index code is now in git in
> dictionaries/source/idxdict.cpp.  It is very simple and uses only STL
> and libstdc++ (in my recollection).

OK, so on Windows it then uses the stlport library shipped with LO (if at all; I guess it also is possible that all STL code it uses comes from headers?)

> Would it be simpler to ship the idxdict utility in the installer and
> run it 

I think so, yes. Especially if we install it in the same folder where the stlport dll gets installed so that no PATH manipulation is necessary.

We certainly don't want to start loading the stlport dll dynamically in the custom action and look up the STL entry points needed, as they presumably are overridden operators and whatnot that have horrible mangled names, and it would be extremely, eh, interesting, to call such through pointers and totally defeat the purpose of using STL in the first place;) 

--tml




More information about the LibreOffice mailing list