Chapter 6 Using Linker

6.3.5Other Options

@filename

Specify a parameter file

Functional description

By writing various option used by the linker in a file, the @ option lets you specify just that file during execution, and the linker will replace it with the option specifications.

All options other than the @ option can be written in a parameter file.

If a parameter file that does not exist is specified, the linker will display an error message.

Rules of use

This option does not use the slash (/) or hyphen (-) option specification character. It specified alone, followed by the parameter file name.

ld103 @pfile

NOTE:

Comments may be inserted into parameter files by starting them with a sharp

 

 

(#). The linker ignores everything from the sharp to the end of the line.

 

 

 

Default specification

Not applicable.

Operational example

Assume the following contents for pfile.

-o main.ex -gm

-T@CODE=80000000 prog1.rf -T@DATA=f0000000 prog2.rf

Then specifying the following two commands is equivalent.

ld103 @pfile

ld103 -o main.ex -gm -T@CODE=80000000 prog1.rf -T@DATA=f0000000 prog2.rf

Command Options 105

Page 117
Image 117
Panasonic MN1030 user manual Operational example, @filename Specify a parameter file, Ld103 @pfile