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.

Compiler/TMS320F280049: Run time support library is with rts2800_fpu32.lib or libc.a?

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Dear Champs,

I am asking this for our customer.

In P13 of the F28004x_DEV_USER_GUIDE.pdf, it says we use rts2800_fpu32.lib rather than libc.a.

located in C:\TI\c2000\C2000Ware_1_00_06_00\device_support\f28004x\docs\

 

However, in our example codes like led_ex1_blinky,

It shows we use libc.a as in the following figure in the linker file search path.


 

Therefore, we are confused.

 

1) Which library should we use for run time support library?

2) What is the difference between libc.a and rts2800_fpu32.lib?

 

 

 

Wayne Huang

 

 

 

  • Wayne,

    libc.a is the 'automatic' library, where the specific library is chosen by CCS based on build options. libc.a is not actually a library, but I think of it as a script where the actual library gets chosen. For example, you build with floating point enabled, you get rts2800_fpu32.lib. You build without the -fpu32 option, you get rts2800_ml.lib. Something like that. There are other options that determine the library too.

    Regards,
    David
  • David,

    Thank you for your information.

    Wayne