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.

CHAPTER 9 SPECIFICATIONS OF A LIBRARIAN<br />

9.1 Functions of a Librarian<br />

A librarian is a tool used to create a library file by combining multiple object modules<br />

that an assembler has output.<br />

■ Roles of a Librarian<br />

To develop a program, divide a source program for each function into modules, each of which you then<br />

compile and assemble.<br />

A linker then combines the compiled and assembled modules into one to create the target program.<br />

A librarian is used to create a library file by combining multiple object modules that an assembler has<br />

output.<br />

You may register multiple modules that make up a program in the library file dedicated to the program to<br />

manage them in a batch.<br />

Registering the frequently used modules in a batch to create a general-purpose library file enables them to<br />

be easily used in other programs. A good example of this is a library in C.<br />

Since a librarian allows you to add, delete, or replace modules of a library file, you can keep them up to<br />

date.<br />

Figure 9.1-1 shows the roles of a librarian.<br />

Figure 9.1-1 Roles of a Librarian<br />

Assembler<br />

Relative format<br />

object<br />

(.obj)<br />

Librarian<br />

Library<br />

(.lib)<br />

Linker<br />

Absolute format<br />

object<br />

(.abs)<br />

206 PART III LIBRARIAN

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

Saved successfully!

Ooh no, something went wrong!