AM263P4-Q1: Portable Path To libc.a In Linker Script

Part Number: AM263P4-Q1


Hello,

I want to corral some functions ( e.g. fmodf() in libc.a ) into TCM for speed of execution.

I already have the search path to file libc.a as follows:

image.png

However, on its own I get a "file not found" linker error. 

To get it to locate I have to fully qualify the path like this:

    GROUP  :   {
    FAST_FUNCTIONS : {
        "C:\ti\ccs1281\ccs\tools\compiler\ti-cgt-armllvm_4.0.4.LTS\lib\"libc.a(.text)
    } align(8)
    .controlfnc : {
    } align(8)
    } > R5F_TCMA 

But obviously the absolute path to libc.a is not portable.

  1. Why isn't the linker search path successful?
  2. How can I put a portable path to libc.a please?

Thank you.