Chapter 6 Using Linker
Command Options 89
6.3.1 Output File Options
Functional description
This option specifies the directory and file name of the executable format file to be output by the linker.
If the directory is omitted, the file will be output to the current directory. If a file name that already
exists is specified, that file will be overwritten with new contents.
If just a path name is specified, or if a directory that does not exist is specified, an error message will be
displayed.
NOTE: Because the @ symbol is used as the character for specifying parameter files, it
cannot be used as the first character of file names
Rules of use
This option is specified with the hyphen (-) option specification character, followed by the lower-case
letter 'o', then either immediately followed by the file name or a space and the file name.
ld103 -o /usr/tmp/test.ex main.rf sub.rf
Default specification
The executable format file named m103.ex will be output to the current directory.
o filename Specify the path name and file name of the executable format file to be
output