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.
Hi,
I'm trying to port an existing C++-Projekt to an EVM8168 and I'm wondering, if I can do this by using CCSv5.2.
When I build a new crosscompiler-project CCSv5.2 asks me to tell it which compiler I want to use, so I selected the arm-none-linux-gueabi-folder.
I've included the include-folder which can be found in the codesoucery-folder as well.
But some simple include-files like math.h or time.h couldn't be found, so I thought i have to include the include-folder of the targetfs als well so I can get these files
form the linux running an the EVM, but the /usr/include folder was empty.
Can anyone help me setting up CCSv5.2 to do what I want him to do or can recommend a tutorial?
Or does anyone see where I made a mistake?
Best REgards,
Kristian
Edit: And can anyone tell me, where I find "dirent.h" or the equivalent for the embedded linux on the board?
Kristian,
Please check the page below that describes the process of creating GCC projects with CCSv5.
http://processors.wiki.ti.com/index.php/How_to_create_GCC_projects_in_CCSv5
Since you are doing cross compile in the host PC the include directories must be of the toolchain itself, not the ones in the targetfs - the filesystem loaded to the target is not expected to contain any code development support due to space constraints. Do a search in the codesourcery directory structure to find these header files.
Hope this helps,
Rafael