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

Linux CCSC COFF output problem

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



Joined: 14 Nov 2009
Posts: 2

View user's profile Send private message

Linux CCSC COFF output problem
PostPosted: Sun Nov 15, 2009 2:56 am     Reply with quote

Hi,

When I try to build project with COFF output (to run under piklab control) I have strange error:

[verox@matrix Michal_kontroler]$ make
/opt/picc/ccsc +DF michal.c
Invalid option: +DF

Version:

[verox@matrix Michal_kontroler]$ ccsc +V
PCM compiler version 4.020;1/3/2007


Is there any other way to generate coff output ? Why compiler says "invalid option" ?
Ttelmah
Guest







PostPosted: Sun Nov 15, 2009 3:28 am     Reply with quote

Don't use the Linux compiler, but try without a space between the option, and the filename.

Best Wishes
verox_pl



Joined: 14 Nov 2009
Posts: 2

View user's profile Send private message

PostPosted: Sun Nov 15, 2009 3:31 am     Reply with quote

[verox@matrix Michal_kontroler]$ ccsc +DFmichal.c
Invalid option: +DFMICHAL.C

still invalid :-(
portscanner
Guest







Got it to work
PostPosted: Tue Nov 17, 2009 11:12 am     Reply with quote

... but I am running version 4.095

I also had to include the +FH option - but you may need +FB or +FM depending you your target.

/opt/ccs/ccsc +FH +DF test.c
CCS PCH C Compiler
Registered to: XXXXXXXXXXX ,
test
in /home/project/18f24j11/

Compiling: test.c
Linking
Writing test.hex
Writing test.sym
Writing test.lst
Writing test.cof
Writing test.pjt
Memory usage:
ROM=0%
RAM=0% - 0%
Files: 2, Statements: 2, Time: 1 Sec, Lines: 413
0 Errors, 0 Warnings, Time: 1 Seconds
No Errors /home/project/18f24j11/test.PJT
0 Errors, 0 Warnings.
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