Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: metal on January 09, 2007, 02:11:20 pm

Title: Hi-Tech PICC, PICC18 and dsPIC
Post by: metal on January 09, 2007, 02:11:20 pm
Hello,

How can I use Codeblocks with HiTech's PICC, PICC18 and dsPIC.


Thanks alot
Title: Re: Hi-Tech PICC, PICC18 and dsPIC
Post by: MortenMacFly on January 09, 2007, 02:25:42 pm
I don't know this compiler but if it is command-line compatible with an existing one (e.g. GCC) then simply do:
- in the compiler settings
- make a copy of (e.g. the GCC compiler)
- name it something like "PICC compiler"
- adjust the base path on the programs tab too point to the PICC installation
- adjust the executables to name the *right* ones of the PICC compiler suite.
If it's not command line compatible to an existing one:
- collect the compiler/linker settings
- implement a new compiler into the compiler plugin (requires  compiling C::B yourself in the end)
With regards, Morten.
Title: Re: Hi-Tech PICC, PICC18 and dsPIC
Post by: metal on January 09, 2007, 03:33:35 pm
Ok, thanks. I will certainly try it :)