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.

How set the endian mode when rebuild the xdctools_3_23_04_60

hello everyone,

I have know how to rebuild the xdctools, and but when I rebuild ok, it will generate a lib which is just a little-endian lib(default mode), I want to know how can I generate a big-endian lib.

Best Regars,

Si

  • ps: I want to rebuild the whole xdctools.

  • How are you rebuilding xdctools? In most cases, users only need to rebuild some of the ti.targets packages. Is that what you are trying to do?
    If we support the big endian mode for a specific architecture, there is already a RTSC target with the suffix big_endian. For which architecture do you want to build?

  • Sasha,

    I have known how to rebuld the xdctools, yes, I just want to rebuld the c66x target,  from the config setting ,I can set the big endian and target what I want to rebuld. Below is the setting:

    /* specify the compiler installation directory for the targets we need */
    var C66_big_endian = xdc.useModule('ti.targets.elf.C66_big_endian');
    C66_big_endian.rootDir = "C:/ti/C6000_Code_Generation_Tools_7_4_6";

    /* specify the target(s) to use when building source files */
    var Build = xdc.module("xdc.bld.BuildEnvironment");
    Build.targets = [C66_big_endian]; /* only build using C64P target */

     

    Regards,

    Si