-lnkopt


This option specifies link options.

[Specification format]

-lnkopt=arg

 

-

Interpretation when omitted

Only the link options specified by the compilation driver are passed to the optimizing linker.

[Detailed description]

-

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

-

An error will occur if arg is omitted.

[Example of use]

-

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

>ccrl -lnkopt=-form=relocate -cpu=S2 -dev=dr5f100pj.dvf main.c

 

The -lnkopt option specified in the above example has the same effect as the following example.

>ccrl -c -cpu=S2 -dev=dr5f100pj.dvf main.c
>rlink -form=relocate main.obj