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.

Not able to use Sys bios as a static library in my project .

Other Parts Discussed in Thread: SYSBIOS

Hi ,I am Using Ccs 5 , I created a Sys/ bios project from the existing  template and  output configured as  Static library . A static Library was generated (10kB).I am Using this library in my other css project I have linked the library by this manner :    Build setting--> C6000 linker-->File sarch path and giving the library path. while compiling my project main.c  am using a sys bios api like  task = Task_create(taskFxn, 0, &eb);  . I still get errors  as its not defined . Is there something Am doing wrong?

1.How can I generate  Sys Bios as library file and then link in my project ? assuming I want to build through a command line I want to have Sys/bios as a library and I want to link it during link process.

  • Any help much appreciated.
  • John,

    here's another forum post related to yours.
    e2e.ti.com/.../1038272

    I think the short answer is if you want to build a static library, you will need to run the XDCtools closure tool.
  • Thanks Tom,

    It helped though to a certain extent.Being a newbie  , I need a better direction.
      in CCS the XDC  tool is integrated Now consider we have a sys bios example project  which has   a main.c  in which it has a sysbios taskcreate api  while building , the CCS creates RTSC package and links it with main .c  and then I get a  .out .   this similar approach i want to do it without CCS .  I will use TI compiler tool chain , XDC tool  along with SYSBIOS and some application program.

    I tried bios.mak by setting xdc path and targets accordingly. I didnt know how are the obj generated and how do i link sysbios with a  application file .all this in command line without using  CCS.