31.12.2013 Views

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.2 Functions of a Linker<br />

5.2.3 Control on Searching Libraries<br />

Section 5.2.3 describes those linker functions that control searching for a library.<br />

■ Specifying a Path to Search a Library<br />

To specify a path to search a library, specify the directory containing the C/C++ library in an environment<br />

variable. However, specify the path if a library created by the user is stored in another directory.<br />

■ Specifying a Library File to be Searched<br />

As the library to be searched, specify the name of a library file created by the user in addition to the<br />

runtime libraries provided by a C/C++ compiler.<br />

■ Specifying a Library File to be Searched for Each Symbol<br />

If, in the linking processing, multiple library files are searched and you know that the same external symbol<br />

is contained in the libraries, use this function to explicitly specify which library module should be linked.<br />

■ Inhibiting the Search for a Library<br />

You can disable the search of a default library or all the libraries.<br />

PART II LINKER 57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!