MSVC link /INCREMENTAL - does this actually work?

Michael Stahl mstahl at redhat.com
Thu Apr 11 05:46:38 PDT 2013


i've tried to get the MSVC 2008 linker to do incremental linking, see
the attached patch.

the linker is very picky and spits out an error message that it does a
full link if anything touches the .dll or .ilk file and modifies the
timestamp after it was linked.

but with the patch i don't get that error message for DLLs any more, but
still the linking does not seem to happen any faster.

i've tried in vcl and tookit modules, in an --enable-pch
--enable-dbgutil build, touch a single file and rebuild the module,
roughly as fast with incremental as without.

when i add -verbose to the linker options, i see what looks like
something adds additional parameters, among them a "/fullbuild" that is
documented nowhere apparently.  it's a mystery what is going on there.

maybe somebody more familiar with MSVC has some insight into this that
i'm missing (also i haven't got MSVC 2010 or 2012 installed so don't
know what happens there).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-try-incremental.patch
Type: text/x-patch
Size: 2064 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130411/5b6cda54/attachment.bin>


More information about the LibreOffice mailing list