### /DBGPACK, /NODBGPACK

Syntax: | Default:
/DB[GPACK] | /NODBGPACK
/NODB[GPACK] |

Use /DBGPACK to eliminate redundant debug type information. The linker takes the debug type information from all object files and needed library components, and reduces the information to one entry per type. This results in a smaller executable output file, and can improve debugger performance.

Performance Consideration: Generally, linking with /DBGPACK slows the linking process. However, if there is enough redundant debug type information to be eliminated, /DBGPACK can actually speed up your linking, because there is less information to write to file.

When /DBGPACK is set, /DEBUG and /BROWSE are also set by default.

Note: If you link object files from both VisualAge V4.0 and IBM C/C++ Compilers V3.6 with /DBGPACK, the linker will only pack one type of debug information and you will receive a warning message for the modules that were not packed.

Summary of Linker Options