# dbglibs

Tells the linker to search for unresolved references in a debug run-time library.

## Syntax

Linux: | None

macOS: | None

Windows: | /dbglibs /nodbglibs

## Arguments

None

## Default

/nodbglibs | The linker does not search for unresolved references in a debug run-time library.

## Description

This option tells the linker to search for unresolved references in a debug run-time library.

This option is processed by the compiler, which adds directives to the compiled object file that are processed by the linker.

The following table shows which options to specify for a debug run-time library:

Type of Library | Options Required | Alternate Option
--- | --- | ---
Debug single-threaded | /libs:static /dbglibs | /MLd (this is a deprecated option)
Debug multithreaded | /libs:static /threads /dbglibs | /MTd
Multithreaded debug DLLs | /libs:dll /threads /dbglibs | /MDd
Debug Fortran QuickWin multi-thread applications | /libs:qwin /dbglibs | None
Debug Fortran standard graphics (QuickWin single-thread) applications | /libs:qwins /dbglibs | None

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Linking or Linker Options