Author Topic: C::B with gcc for Freescale m68hc12 HC12/HCS12/9S12 ?  (Read 5047 times)

Offline LouisBertrand

  • Single posting newcomer
  • *
  • Posts: 6
C::B with gcc for Freescale m68hc12 HC12/HCS12/9S12 ?
« on: May 14, 2012, 11:28:50 pm »
Hi!

I would like to make a new project script/wizard for the Freescale m68hc12 gcc (3.3.6) with the GNU Embedded Library (GEL), both ported years ago by Stéphane Carrez. Windows only for now though. Previously I used the EmbeddedGNU IDE but it's not as nice as Code::Blocks.

It doesn't look like there is anything like this yet, correct me if I'm wrong.

I will be posting in Embedded Systems as I go. Test pilots wanted.

All the best
 --Louis

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: C::B with gcc for Freescale m68hc12 HC12/HCS12/9S12 ?
« Reply #1 on: May 15, 2012, 12:49:49 am »
I think first you'll need to introduce the compiler to CB's compiler plugin (options, flag etc...).

Offline LouisBertrand

  • Single posting newcomer
  • *
  • Posts: 6
Re: C::B with gcc for Freescale m68hc12 HC12/HCS12/9S12 ?
« Reply #2 on: May 15, 2012, 02:49:20 pm »
Um, right. I'm looking through the source. I found the folder with the compiler definitions but I'd appreciate a link to the right FM to R. I can start monkeying around with it but it's likely to be an ugly hack at first.
Thanks.

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: C::B with gcc for Freescale m68hc12 HC12/HCS12/9S12 ?
« Reply #3 on: May 15, 2012, 05:48:00 pm »
There is some info here. Even though I didn't try adding a new compiler myself adding a new embedded compiler to CB would be nice indeed. So good luck with it. ;)
http://forums.codeblocks.org/index.php/topic,5086.msg55163.html#msg55163