/ Sorry for the delay. It was a busy week... /

> 1. PDB format supports incremental linking. I have not tested whether
> [snip]
> 3.

Good points. So basically you create an individual .PDB file for each source file with exception of lib.exe case. The lib.exe case worries me a bit.

How doe sthe compiler finds all generated PDBs? Does .OBJ file have the path to PDB encoded into it?

Actually why do we need a PDB file to be generated for .LIB? LIB is just a bunch of OBJ files glued together. Passing LIB to the compiler is almost the same thing as passing the list of OBJ files. I would think that cl.exe should be able to find PDB files in both cases.

--
Best regards,
 Alexey Pakhunov.