Hi Jan,

good job, I was always wondering why it wasn't available for windows, I am going to give it a try ... :-)

Regards

  Kay

Jan Holesovsky wrote:
Hi,

For those building on Win32, it might be interesting that I've extended the ccache [http://ccache.samba.org/] to deal with MSVC. I've done it during our Novell HackWeek [http://idea.opensuse.org]; I hope you'll enjoy it as much as I enjoyed the hacking on that ;-)

It is easy to use, instead of 'guw.exe cl.exe', you'll use 'guw.exe ccache.exe cl.exe' in your CXX environment variable after having sourced the environment. To see the ccache statistic, use ccache -s. You can override the directory where is the cache stored by exporting CCACHE_DIR="c:
\where\you\want"  Should you find any bugs, please send me patches :-)

I've not measured the speedup too much yet, but it was >20% in vcl compared to non-ccache run, the penalty of the initial fill of the cache was like 17% [compared to non-ccache]. Would be great if someone did a measurement of the entire build.

The patch and the binary:

http://artax.karlin.mff.cuni.cz/~kendy/ccache/

More info:

http://idea.opensuse.org/content/ideas/cross-compile-openoffice.org-for-win32-on-linux

Regards,
Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to