CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

#EXPORTing

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
3dfx



Joined: 24 Mar 2007
Posts: 6

View user's profile Send private message

#EXPORTing
PostPosted: Sat Mar 24, 2007 5:50 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Mar 25, 2007 12:03 am     Reply with quote

It's probably not working yet. Read this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=30271

Also read Ttelmah's post in this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=30223
3dfx



Joined: 24 Mar 2007
Posts: 6

View user's profile Send private message

PostPosted: Sun Mar 25, 2007 5:30 am     Reply with quote

thank you.at least i wont try no more until new version releases.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group