Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> search</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SEARCH
------------------------------------------------------------------------------
 Purpose:
 Prioritize all symbols in the specified libraries.

 Syntax:
 SEARCH [d:][path]<libname> [, [d:][path]<libname> ...]

 Default:
 Disabled.

 Description:
 The SEARCH command is an alternative form of the LIBRARY command, but
 operates slightly differently.

 During the normal linking process, Blinker will make multiple passes over a
 given library until it is unable to resolve any further external references,
 at which point processing of the next library begins. If, after all
 libraries have been processed, there are still unresolved externals, Blinker
 will make another pass over the libraries and so on.

 When Blinker encounters a SEARCH command, it loads all the symbol names from
 the named library into a table in memory. This has the effect of causing any
 previous unresolved external references, and any future external references
 encountered to be resolved from the SEARCHed library (if they are defined
 there) in preference to a subsequent library.

 Use of the SEARCH command should be limited to those cases where it is
 required, as it slows the linking process, and uses large amounts of memory
 at link time.

 Example:
 SEARCH C:\LIBS\MYLIB1, D:\ABC\LIB2

See Also: LIBRARY (link script command)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson