Linking times with VC 7.1 (.NET 2003)

  • Thread starter Thread starter Markus Neff
  • Start date Start date
M

Markus Neff

Dear MS VS .NET 2003 users,

so far I used MS VS 6.0 SP5 for a rather large C++ project. Now I want
to migrate to MS VS .NET 2003. First tests however showed that
compilation and most notably linking is significantly slower with the
new software. Linking a release build took about 15 seconds with 6.0
and now takes about 60+ seconds (already using /OPT:NOREF /OPT:NOICF).
For debug versions, it took about 3-4 minutes with 6.0 compared to 10
minutes with .NET 2003. Are there any settings that can bring the
linking times down to the old level ?

Thanks a lot for any hint in advance,
Markus Neff
 
Markus Neff said:
Dear MS VS .NET 2003 users,

so far I used MS VS 6.0 SP5 for a rather large C++ project. Now I want
to migrate to MS VS .NET 2003. First tests however showed that
compilation and most notably linking is significantly slower with the
new software. Linking a release build took about 15 seconds with 6.0
and now takes about 60+ seconds (already using /OPT:NOREF /OPT:NOICF).
For debug versions, it took about 3-4 minutes with 6.0 compared to 10
minutes with .NET 2003. Are there any settings that can bring the
linking times down to the old level ?

Thanks a lot for any hint in advance,

Here are two options that considerably slowdown vc7x link time:
1) whole program optimization
.... cause then the link phase contains many things that previously
happened during the compile phase ... e.g. optimization.
2) whole program optimization + emit assembler code
IIRC this can result in up to 300% increased "link"-times.


Regards,
Markus.
 
Back
Top