I didn't hear anything in my last message it might have been ignored since I
changed what was the original topic. This is my problem.

 

How can I change the cl6x compiler switches that are defaulted in the Codec
Engine when using package.bld.

 

For example I want to add a couple like: -pm -op2 and change -o2 to -o3.

 

You can do this in the Pkt.addExecutable by specifying extraAttrs but I
don't see how to do this with the Pkg.addLibrary.example

 

    Pkg.addExecutable(platShort + '/' + name + '_' + cfg, targ, plat, {

        copts: compileOpts,

        cfgScript: cfg + suffix,

        cfgArgs: "{platform: \"" + plat + "\"}",

        lopts: "-l /home/harsha/dvevm_1_20/cgtools/lib/dsplib64plus.lib",

    }).addObjects(srcs);

 

With the above we can change copts and lopts but this is ran when creating
an executable not a library.

 

Thanks,

 

Josh

 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to