[SOLVED] How to create exe or DLL with pdb location as just filename without path ? [modified]
-
Whenever I create an exe or DLL with debugging info, the full path of the pdb file (ie. the linker output path) is placed in the exe or DLL. I have seen some exe and DLL's where only the pdb filename (without path) is used instead. How can I do this ?
modified on Saturday, December 6, 2008 6:40 PM
-
Whenever I create an exe or DLL with debugging info, the full path of the pdb file (ie. the linker output path) is placed in the exe or DLL. I have seen some exe and DLL's where only the pdb filename (without path) is used instead. How can I do this ?
modified on Saturday, December 6, 2008 6:40 PM
I managed to find out myself. For anyone that's interested, there's an undocumented linker switch /pdbpath:none which will remove the full path but keep the pdb file name.