| How to add pre-built library to RTSC-ed one ? [message #778546] |
Fri, 13 January 2012 03:23  |
Naoki Kawada Messages: 10 Registered: January 2012 Location: Tokyo |
Junior Member |
|
|
Hello,
In the config.bld, we can add C source objects to RTSC-ed library.
var Build = xdc.useModule('xdc.bld.BuildEnvironment');
var Pkg = xdc.useModule('xdc.bld.PackageContents');
/* ---- what to build ---- */
for each (var targ in Build.targets) {
Pkg.addLibrary("lib/isqrt_loop", targ).addObjects(["isqrt_loop.c"]);
}
With such a script, the C sources are compiled and then added to RTSC library appropriately.
Now, I would like to know how to add pre-built library to RTSC library.
In this case, how can I add "pre-built.lib" to isqrt_loop.lib ?
Best Regards,
Kawada
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01664 seconds