View previous topic :: View next topic |
Author |
Message |
3dfx
Joined: 24 Mar 2007 Posts: 6
|
#EXPORTing |
Posted: Sat Mar 24, 2007 5:50 am |
|
|
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? |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
 |
3dfx
Joined: 24 Mar 2007 Posts: 6
|
|
Posted: Sun Mar 25, 2007 5:30 am |
|
|
thank you.at least i wont try no more until new version releases. |
|
 |
|