Given the potential performance improvements from LTCG (link time code generation, or whole program optimization), which requires the availability of .obj files, does Microsoft make available the .obj files for the various flavors of its MSVCRT releases? One would think this would be a good place for some potential gain. Not sure what they have to lose since the IL that is generated in the .obj files is not documented and processor specific.
views:
41answers:
2
A:
I don't think so, but considering they provide full source code to the CRT there's no reason you can't make your own.
Billy ONeal
2010-04-19 21:30:05
+2
A:
A static library is basically just a collection of .obj files mushed (that's a technical term) together into a single file, with a directory added so the linker can find each on easily. If you use the static library, it should be able to include them in the global optimization phase.
Jerry Coffin
2010-04-19 21:33:46
Nope - the .obj's inside aren't built with /LTCG so they can't participate.
MSalters
2010-04-20 07:40:55