Hello,
I'm trying to add a library to my package via lopts but the link order is incorrect. When I run
XDCOPTIONS=v make
I get
...
/opt/TI/C6000CGT/bin/lnk6x -w -q -u _c_int00 -fs package/cfg/bin/ti_platforms_evm3530/ -l link.cmd -q -o bin/ti_platforms_evm3530/server_DSP.x64P package/cfg/bin/ti_platforms_evm3530/server_DSP_p64P.o64P package/cfg/bin/ti_platforms_evm3530/server_DSP/main.o64P package/cfg/bin/ti_platforms_evm3530/server_DSP_p64P.xdl -c -m package/cfg//bin/ti_platforms_evm3530/server_DSP.x64P.map -l /opt/TI/C6000CGT/lib/rts64plus.lib
where my library is specified in link.cmd. The link fails as symbols used in my codec's are defined in a library linked from link.cmd. If I manually run
/opt/TI/C6000CGT/bin/lnk6x -w -q -u _c_int00 -fs package/cfg/bin/ti_platforms_evm3530/ -q -o bin/ti_platforms_evm3530/server_DSP.x64P package/cfg/bin/ti_platforms_evm3530/server_DSP_p64P.o64P package/cfg/bin/ti_platforms_evm3530/server_DSP/main.o64P package/cfg/bin/ti_platforms_evm3530/server_DSP_p64P.xdl -l link.cmd -c -m package/cfg//bin/ti_platforms_evm3530/server_DSP.x64P.map -l /opt/TI/C6000CGT/lib/rts64plus.lib
Everything links OK.
I've read some previous posts about using the link order interface with the GUI but how do I do it with the command line tools?
Thanks.
Steve Goldberg