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 CCS Technical Support

mplab and ccs

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








mplab and ccs
PostPosted: Tue Dec 08, 2009 5:08 am     Reply with quote

Try to use mplab and ccs.

With one c file no problem but with 2 file the ccs linker complain.

From ccs "ccsinfo.com/faq.php?page=ccs_mplab"
Scroll most down there are some hints.
Code:
If you add multiple .c files to the project, they will be compiled to .o files and then linked in the final stage. An already compiled .o file can be added to the project, and will be linked during the Make/Build process. If there is only one source in the project, it will be compiled and linked in one phase (no .o file will be created).


but it wont work, the error is that the linker wont link the 2 small module.
dnatechnical



Joined: 26 Nov 2009
Posts: 19

View user's profile Send private message

PostPosted: Tue Dec 08, 2009 8:23 am     Reply with quote

you can include in your c or header file
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Dec 08, 2009 4:49 pm     Reply with quote

Do you have the full IDE (PCWH, PCWHD), or just one of the command
line compilers (PCM, PCH, etc) ? You only get the linker with the full IDE.

If you have a command line compiler, then read this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=37125

If you have the full IDE, then this thread may help:
http://www.ccsinfo.com/forum/viewtopic.php?t=38254
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