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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 10 OPTIONS OF A LIBRARIAN<br />

10.2.1 Adding (Registering) a Module (-a)<br />

Use the -a option to create a new library file or to add a module to an existing library<br />

file.<br />

■ Adding (Registering) a Module (-a)<br />

[Format]<br />

-a < Object module file name > [ , … ]<br />

[Parameter]<br />

<br />

Object module file name that the assembler has output<br />

[Description]<br />

Specify a file name for the module to be registered in a library file.<br />

If the file name has no extension specified, the ".obj" extension is assigned.<br />

If an already registered module has the same name as the one to be registered, an error message is<br />

output and the latter module is not registered.<br />

If an external definition symbol with the same name exists, a module is not registered either.<br />

To specify , you may use a wild card.<br />

[Example 1]<br />

flibs syslib.lib -a mod1.obj,mod2.obj,modx.obj<br />

To register the object module files, mod1.obj, mod2.obj, and modx.obj in the library file, syslib.lib:<br />

• If syslib.lib does not exist: Creating one<br />

• If syslib.lib exists : Adding modules to it and re-registering it<br />

[Example 2]<br />

flibs syslib -a mod*.obj -a chksw<br />

The object module files with the extension .obj and the first three characters as mod in the current directory<br />

and chksw.obj are registered.<br />

Note:<br />

When using a wild card, you cannot specify separated with commas.<br />

Specify them in multiple -a options as shown in the example above.<br />

If a wild card is specified, you are not supplied with an extension. Be sure to specify an extension.<br />

For information on the expansion of a wild card in a file name which depends on the OS, see<br />

"APPENDIX G SPECIFICATION DIFFERENCES DEPENDING ON THE OS".<br />

222 PART III LIBRARIAN

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

Saved successfully!

Ooh no, something went wrong!