|
|
View previous topic :: View next topic |
Author |
Message |
mgillespie
Joined: 19 Feb 2009 Posts: 7
|
Compiling from the commandline / using external editor. |
Posted: Tue Dec 15, 2009 4:20 am |
|
|
The included IDE is so horrendously bad, it's quite simply unbelievable. The number of problems, and the lack of any progress fixing them means I really need to throw the IDE in the bin and use a proper editor and commandline compile. Is this possible? Anyone worked out how?
I want to use my editor of choice (PSPAD): http://www.pspad.com/
Some of my IDE problems:
Impossible to use on Windows7, catastrophic errors, GUI bugs, crashing.
Truncated error and information dialogs on all OS (particularly bad if your change management system /project complexity makes you use quite long path names).
Abysmal Find, worse when using keyboard shortcuts, no highlight/list all. |
|
|
mgillespie
Joined: 19 Feb 2009 Posts: 7
|
|
Posted: Tue Dec 15, 2009 5:08 am |
|
|
OK, got a batch file working, so I never have to touch the CCS IDE again. However I can't seem to find if the compiler uses errorlevels on the return to determine if the code compiled correctly. I want to be more intelligent about my post compile handling.
Code: |
@echo off
rem CSSC commandline build script, because the IDE is so horrid (I hope their compiler skills are better than their IDE writing skills!)
c:\Progra~1\PICC\Ccsc.exe -T -A -D -L -M -J +FH +DF ..\Source\main.c
type ..\source\main.err
del ..\source\main.err
del ..\source\main.esym
attrib -r ..\Deliverables\MyRealName.hex
attrib -r ..\Deliverables\MyRealName.cof
move ..\source\main.hex ..\Deliverables\MyRealName.hex
move ..\source\main.cof ..\Deliverables\MyRealName.cof
|
Can I also prevent the esym file being created? I don't need or want it. |
|
|
|
|
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
|