This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problems building ipc examples using cgt on Linux

Other Parts Discussed in Thread: SYSBIOS

I am trying to build some of the IPC example code using the linux compiler cl6x.

So I have set XDCPATH like so: 

XDCPATH="/home/gnewton/ti-ezsdk_dm816x-evm_5_01_01_80/ipc_1_22_05_27/packages/;/home/gnewton/ti-ezsdk_dm816x-evm_5_01_01_80/sysbios_6_31_04_27/packages/;/home/gnewton/ti-ezsdk_dm816x-evm_5_01_01_80/xdctools_3_20_08_88/packages/"

I have edited config.bld to have the following:

var rootDirPre = "/home/gnewton/ti-ezsdk_dm816x-evm_5_01_01_80/cgt6x_7_2_2/bin/";

var rootDirPost = "";

//Setup for C674 target
var C674 = xdc.useModule('ti.targets.C674');
C674.rootDir = rootDirPre + "cl6x" + rootDirPost;
C674.ccOpts.suffix += " -mi10 -mo ";
//set default platform and list of all interested platforms for c674
C674.platforms = [
                    "ti.sdo.ipc.examples.platforms.evmTI816X.dsp",
                    "ti.sdo.ipc.examples.platforms.evmDA830.dsp",
                    "ti.sdo.ipc.examples.platforms.evmOMAPL138.dsp",
                ];
C674.platform = C674.platforms[0];
I get the following errors:
warning: exec of '/home/gnewton/ti-ezsdk_dm816x-evm_5_01_01_80/cgt6x_7_2_2/bin/cl6x/bin/cl6x --compiler_revision' failed:java.io.IOException: java.io.IOException: /home/gnewton/ti-ezsdk_dm816x-evm_5_01_01_80/cgt6x_7_2_2/bin/cl6x/bin/cl6x: not found; check tools installation
xdc.cfg.INCOMPATIBLE_TARGET_VERSION: current target 'ti.targets.C674' [] is not compatible with targets used to build the following packages; package ti.targets.rts6000 [in /home/gnewton/ti-ezsdk_dm816x-evm_5_01_01_80/xdctools_3_20_08_88/packages/ti/targets/rts6000/] was built using 'ti.targets.C674' [1,0,7.0,0]
In the first error why has /bin/cl6x been appended twice to the compiler path?
 
In the second error is the  [1,0,7.0,0] relevant and what is it?