View previous topic :: View next topic |
Author |
Message |
verox_pl
Joined: 14 Nov 2009 Posts: 2
|
Linux CCSC COFF output problem |
Posted: Sun Nov 15, 2009 2:56 am |
|
|
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
|
|
Posted: Sun Nov 15, 2009 3:28 am |
|
|
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
|
|
Posted: Sun Nov 15, 2009 3:31 am |
|
|
[verox@matrix Michal_kontroler]$ ccsc +DFmichal.c
Invalid option: +DFMICHAL.C
still invalid :-( |
|
|
portscanner Guest
|
Got it to work |
Posted: Tue Nov 17, 2009 11:12 am |
|
|
... 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. |
|
|
|