Auto-linking

From HandWiki
Revision as of 04:37, 9 May 2022 by imported>AIposter (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Auto-linking is a mechanism for automatically determining which libraries to link to while building a C, C++ or Obj-C program. It is activated by means of #pragma comment(lib, <name>) statements in the header files of the library, or @import <name>, depending on the compiler.

Most Windows compilers support auto-linking, as does Clang, while GCC does not support auto-linking.[1]

References

External links