News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Using Code::Blocks with GCC for 68HC12

Started by Bill Stapleton, August 10, 2009, 10:01:30 PM

Previous topic - Next topic

Bill Stapleton

Hello all,
I am a first-time Code::Blocks user.  I downloaded it on a recommendation from a colleague for its support of GCC ports.  I was hoping that it would recognize the GCC for 68HC12 port automatically, but no such luck.  Oh well, more fun for me.
I found a couple of threads referring to this same issue but none of them were resolved. 
Could anyone suggest where to start looking for examples of how previous GCC ports have been handled so I can start looking at making my own port of the GCC for 68HC12 toolset?
Any advice welcome.
Thanks in advance.

mariocup

If you have a look at the CB sources


http://svn.berlios.de/wsvn/codeblocks/trunk/src/plugins/compilergcc/compilerGNUARM.cpp
http://svn.berlios.de/wsvn/codeblocks/trunk/src/plugins/compilergcc/compilerGNUARM.h


you see an example how a GCC compiler should look like. After creating such files for 68HC12 you have to add the cpp, h file to the CB project file and in addition


http://svn.berlios.de/wsvn/codeblocks/trunk/src/plugins/compilergcc/compilergcc.cpp


add an include directive for the corresponding h file.


Bill Stapleton

Thank you.  I'll take a look and see what I can do.