-Xlk_option


This option specifies link options.

[Specification format]

-Xlk_option=arg

 

-

Interpretation when omitted

The ccrh driver interprets all specified options.

[Detailed description]

-

This option passes arg to the linker as the link option.

-

Use this option to pass a file to the linker containing an identifier that the ccrh driver does not recognize as input to the linker.

-

An error will occur if arg is a non-existent link option.

-

An error will occur if arg is omitted.

[Example of use]

-

To pass the -form=relocate option to the linker, describe as:

>ccrh -Xlk_option=-form=relocate -Xcommon=rh850 main.c

 

The example above has the same meaning as the following.

>ccrh -c -Xcommon=rh850 main.c
>rlink -form=relocate main.obj