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

MPlab compiling wrong file

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



Joined: 27 Dec 2004
Posts: 21

View user's profile Send private message

MPlab compiling wrong file
PostPosted: Wed Aug 31, 2005 7:22 pm     Reply with quote

I think this is a simple question:
I use MPlab version 7.x with the CCS compiler. So I have a project set up with all of my source files and header files. The problem is that when I click complile, it always runs the CCS compiler with the first file that is listed in the project source files, which happens to be an alphabetical listing. So it usually is not the "most significant" source file and I get an error.

The only way I can get around this is by giving my "most significant" source file a filename that is ahphabetically first.

What is the right way to tell MPLAB which file it is supposed to send to the compiler when it compiles?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Aug 31, 2005 7:45 pm     Reply with quote

There is no linker for CCS. You don't setup a CCS project
the same way as for MPASM. See this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=17303
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