In short, your codec's getLibs() function, in package.xs, should be sure
to only return a library name when "targets it supports" are requested.
That is, getLibs() should look like this if it only supports C64P
targets:
function getLibs(prog)
{
var name;
if (prog.build.target.isa == "64P") {
/* "mangle" program build attrs to directory name */
name = "lib/viddec_copy.a" + prog.build.target.suffix;
/* return the library name: name.a<arch> */
print(" will link with " + this.$name + ":" + name);
}
else {
name = "";
}
return (name);
}
sprued6A.pdf, section 2.2.2 has been corrected to better reflect this -
Rev A of that doc is included in Codec Engine 1.10 (coming soon) and
will also be available on the TI web site. Note that the example copy
codecs provided with Codec Engine _don't_ do this check because they are
written in portable C, and as such _do_ support ARM-side execution.
This is admittedly a little strange, but is a side effect of enabling
codec packages to support both "local" codecs and "remote" ones, for
many different targets.
Chris
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of X. Zhou
Sent: Wednesday, November 15, 2006 3:00 AM
To: [email protected]
Subject: question about DM6446 DVSDK XDC building system
Hi, everone, i have another question about DM6446 DVSDK XDC
building system.
perhaps someone has know, my lib is a combination of "DSP codec
+ ARM codec engine + ARM client application".
each time when i build the arm client application, the XDC tool
will look for the file with the name just like "videnc.a470MV" or
other, i think it should be the arm version of my dsp codec. But
actually my codec is running on DSP side, not arm side, why the buidling
sytem look for this file still yet?
I have tried use another codec's a470MV file as my codec's
a470MV file, the application seems normal, ..... i am a little
curious.....
ZhouXiao
This message (including any attachments) is for the named addressee(s)'s
use only. It may contain
sensitive, confidential, private proprietary or legally privileged
information intended for a
specific individual and purpose, and is protected by law. If you are not
the intended recipient,
please immediately delete it and all copies of it from your system,
destroy any hard copies of it
and notify the sender. Any use, disclosure, copying, or distribution of
this message and/or any
attachments is strictly prohibited.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source