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

Compiling first program in CCS C

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







Compiling first program in CCS C
PostPosted: Tue Jan 29, 2008 1:21 am     Reply with quote

Hi,

I am newbie in CCS C...

How can i compile my first program in CCS C...

any link...

Regards,

Simran..
wollibk



Joined: 25 Jan 2008
Posts: 4
Location: Stuttgart / Germany

View user's profile Send private message

...
PostPosted: Tue Jan 29, 2008 2:37 am     Reply with quote

General:

ccsc.exe <options> <c-filename>


Try:

ccsc.exe +FM +EA +OW +T +A +Y9 +ES mytest.c for 14bit devices
ccsc.exe +FB +EA +OW +T +A +Y9 +ES mytest.c for 12bit devices
ccsc.exe +FH +EA +OW +T +A +Y9 +ES mytest.c for PIC18xxx

For valid option on ccsc see:

ccsc.exe +?

Or look into the compiler reference manual (page 4ff)... ;-)

regards Thomas
Guest








Hi...
PostPosted: Tue Jan 29, 2008 3:28 am     Reply with quote

Hi,

I am unable to understand the commands given by you...

Please a clarity is needed...

Regards,

Simran..
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 29, 2008 12:31 pm     Reply with quote

Post the CCS compiler that you have.

Which one of these do you have ?
1. PCWH
2. PCWH demo version.
3. PCB free version bundled with MPLAB.
4. PCM or PCH command line compilers, that are integrated into MPLAB.
5. Student edition.
6. etc.

Also post the compiler version if you know it.
simran.siliconlabs
Guest







PCM 3.107D
PostPosted: Tue Jan 29, 2008 10:58 pm     Reply with quote

It is written PCM compiler version 3.107D


Regards,

Simran..
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 29, 2008 11:13 pm     Reply with quote

Compiler vs. 3.107 came out on about August 21, 2002.

If I use the Wayback Machine to look at the CCS demo download page
for about that era, it doesn't show PCM. It shows PCW.
http://web.archive.org/web/20021013143031/www.ccsinfo.com/faq/?41
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