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.

CCS: How to know the specified lib is created from which CCS project?

Tool/software: Code Composer Studio

Hi.

I have a lib called system.lib.

I also have so many many CCS projects that can produce lib file.

I searched, and did not find a folder called system.

This confuses me. However, I found a little clue.

I checked the project's map file, and collected all of obj files that make up system.lib.

system.lib : init.obj (.text:Entry)
system.lib : interrupt.obj (.bss:fnRAMVectors)
system.lib : cp15.obj (.text)
system.lib : interrupt.obj (.text)
system.lib : cpu.obj (.text)
system.lib : mmu.obj (.text)
system.lib : cache.obj (.text)
system.lib : exceptionhandler.obj (.text)
system.lib : startup.obj (.text)
system.lib : startup.obj (.const:vecTbl)
system.lib : startup.obj (.const)
system.lib : cpu.obj (.data)
system.lib : init.obj (.text:Entry)

After filtering out, the final suspect comes out.

\armv7a

    \am335x

        \cgt

            \exceptionhandler.asm

        \ewarm

            \exceptionhandler.S    /*type: assembler soruce*/

        \gcc

            \exceptionhandler.S    /*type: assembler soruce*/

        \clock.c

        \device.c

        \interrupt.c

        \startup.c

    \cgt

        \cp15.asm

        \cpu.c

        \init.asm

    \ewarm

        \cp15.S    /*type: assembler source*/

        \cup.S    /*type: assembler source*/

        \init.S    /*type: assembler source*/

    \gcc

        \cp15.S    /*type: assembler source*/

        \cup.S    /*type: assembler source*/

        \init.S    /*type: assembler source*/

    \Visual C++

        \.vs    /*invisible folder*/

        \IDA8

            \Debug

                \...    /*folders about debug*/

                \system.sln    /*Is this suspect?*/

    \cache.c

    \mmu.c

Can lib file be created by Visual C++?

Is there more smart way to find source folder that create specified lib file?

  • Hi Andy,

    Andy Lin94 said:
    Is there more smart way to find source folder that create specified lib file?

    There isn't a way to definitely find out which CCS project was used to build a specific library.

    Andy Lin94 said:
    I have a lib called system.lib.

    Assuming you are using StarterWare, the CCS project likely used to build system.lib can be found in:

    .\build\armv7a\cgt_ccs\am335x\system_config

    Thanks

    ki