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 6 LINKER OPTIONS<br />

6.2.1 Output Load Module File Name Specification (-o)<br />

Specify the file name for the linked load module. If this option is not specified, the<br />

output file name is created from the first input file name.<br />

■ Output Load Module File Name Specification (-o)<br />

[Format]<br />

-o < Load module file name > ( Default )<br />

[Parameters]<br />

<br />

Output load module file name<br />

[Description]<br />

Specify the file name for the linked output load module.<br />

If this option is not specified, the linker creates an output file of the name with the added extension<br />

corresponding to the link mode based on the first input file name.<br />

Link mode<br />

Absolute format output (-a option)<br />

Relative format output (-r option)<br />

Default extension<br />

.abs<br />

.rel<br />

If the extension is omitted when specifying a , a similar extension is also added<br />

depending on the link mode.<br />

[Example 1]<br />

flnk911s putc.obj,getc.obj<br />

A load module file is created with the file name putc.abs.<br />

[Example 2]<br />

flnk911s *.obj -o outfile<br />

A load module file is created with the file name outfile.abs.<br />

When using the wild card to specify an input object file as shown in this example, it is recommended to<br />

specify the output file name using this option.<br />

[Example 3]<br />

flnk911s *.obj -o outfile.<br />

A load module file is created with the file name outfile.<br />

If a period is placed at the end of a file name, an extension is assumed.<br />

[Example 4]<br />

flnk911s *.obj -r -o outfile.rel<br />

A load module file in the relative format is created with the file name outfile.rel.<br />

96 PART II LINKER

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

Saved successfully!

Ooh no, something went wrong!