Skip to main content

How to pass a linker option like /DELAYLOAD through CBLLINK?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

How to pass a linker option like /DELAYLOAD through CBLLINK?

Resolution:

Unfortunately, CBLLINK cannot pass options to Microsoft's LINK.EXE.

The alternative is to specify options for the Microsoft linker LINK.EXE as an environment variable, e.g.

set LINK=/DELAYLOAD:MyDLL.dll

Microsoft's Linker options can be found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_linker_reference.asp

and how to set those options here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_set_linker_options.asp

Old KB# 5270

0 replies

Be the first to reply!