how can i export relocatable files?
i tried this source code which is in ccs help.
Code:
#EXPORT (RELOCATABLE , ONLY=TimerTask)
void TimerFunc1(void) { /* some code */ }
void TimerFunc2(void) { /* some code */ }
void TimerFunc3(void) { /* some code */ }
void TimerTask(void)
{
TimerFunc1();
TimerFunc2();
TimerFunc3();
}
but i gives error
Code:
*** Error 135 "putcar.c" Line 1(7,37): Unknown linker keyword
*** Error 128 "putcar.c" Line 3(1,31): A #DEVICE required before this line
\\\putcar.o ===> 2 Errors, 0 Warnings.
is there another example about making relocatable *.o file?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum