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

Best way to use pcm and pch on one system

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



Joined: 07 Aug 2008
Posts: 17

View user's profile Send private message

Best way to use pcm and pch on one system
PostPosted: Sun Feb 21, 2010 1:35 am     Reply with quote

Hay all.

I have pchl and pcml and have a common code I am compiling for different pic chips, a 16f877 and a 18f2420.

I would prefer to not to have to change my /etc/ccsc.ini every time and keep my compilers in different folders.

I would have figured that pch could compile for smaller chips but that does not seem to be the case. I can't seem to get my pchl to build my code for my 16x877 chip.

Does anyone have a suggestion on how I can make it easier to build for both chips and not have to keep tweaking config files or run different binaries.

PCM compiler version 4.081; 10/8/2008
PCH compiler version 4.095; 7/16/2009

Re
Sean
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Feb 21, 2010 1:42 am     Reply with quote

You should state that these are the Linux compilers. Based on forum
responses, very few people are using these compilers.
Ttelmah
Guest







PostPosted: Sun Feb 21, 2010 1:52 pm     Reply with quote

I'd suggest that you write a couple of shell scripts.
Have two copies of the ini file with different names, and just have scripts called something like ccspch, and ccspcm, with each copying in the required file, and calling the compiler with the required variables....

Best Wishes
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