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.
Tool/software: TI C/C++ Compiler
Hello,
I need to exlude all external libraries from my project in CCSv6.
I did following:
1) chose "<none>" option in "Prorerties->General->Runtine support library"
2) deleted string "code_start" from "Properties->Build->C2000 Linker->Symbol Management->Specify program entry point for the output module"
3) deleted all paths from "Properties->Build->C2000 Linker->File Search Path"
There is warnings when I compile:
"no suitable entry-point found; setting to 0"
"attempt to automatically link in index library "libc.a" failed"
"#10062-D entry-point symbol "_c_int00" undefined"
Where should I to specify entry-point symbol "_c_int00"?
Vadim Sychjov said:I need to exclude all external libraries from my project in CCSv6.
That is possible in theory. But it is not a mode of operation which we document or test. We'll help you. But please understand that, even more than usual, you take on the responsibility for making this work.
The general method is to copy files, from the compiler RTS source code, into your project. The compiler RTS source code is located in a directory similar to
C:\ti\ccsv6\tools\compiler\ti-cgt-c2000_16.9.2.LTS\lib\src
You'll need boot28.asm, exit.c and startup.c . You also need all the header files included by those files. I suggest you use the option --preproc_includes to help you figure that out. Please read more about that option in the C2000 compiler manual.
Once you have this working, then you can consider customizing these files to your project. Possibly even replacing them with your own implementation.
Vadim Sychjov said:2) deleted string "code_start" from "Properties->Build->C2000 Linker->Symbol Management->Specify program entry point for the output module"
This means you must be using C2000Ware. Thus, you need to include one or more files from C2000Ware. Unfortunately, I lack the expertise to help with that detail. If you can't figure it out, then I suggest you start a new thread in the C2000 device forum. Or, if you prefer, I can move this thread to that forum.
Thanks and regards,
-George