Author Topic: How to add support to unsupported compiler?  (Read 4544 times)

Edvinas

  • Guest
How to add support to unsupported compiler?
« on: January 05, 2007, 02:57:40 am »
Hi,

Is there any way to add support for not supported compiler?

--
Edvinas

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: How to add support to unsupported compiler?
« Reply #1 on: January 05, 2007, 06:00:11 am »
Copy an existing one and go the advanced tab and starting editing the options.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2785
Re: How to add support to unsupported compiler?
« Reply #2 on: January 05, 2007, 02:56:59 pm »
   //-- Wiki Index
       CodeBlocks Wiki Index
   //-- Wiki Main Page
    CodeBlocks Wiki Main Page

Search for "compiler" in the wiki index. Two articles show addition of a compiler

Edvinas

  • Guest
Re: How to add support to unsupported compiler?
« Reply #3 on: January 08, 2007, 03:48:34 am »
Copy an existing one and go the advanced tab and starting editing the options.
Yes, it is possible to do workaround like that, however then you need to hardcode compiler options. I want those specific compiler options to appear in compiler Options tab...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: How to add support to unsupported compiler?
« Reply #4 on: January 08, 2007, 04:11:42 am »
Copy an existing one and go the advanced tab and starting editing the options.
Yes, it is possible to do workaround like that, however then you need to hardcode compiler options. I want those specific compiler options to appear in compiler Options tab...

Then you create a patch and upload it to Berlios.
Note: This assumes you can build CodeBlocks from SVN
I would determine which of the supported compilers is closest to your compiler and then create the compiler file like the others under src/plugins/compilergcc folder by copying the closest match with a new name.
Then after you get all the features you want added to it, I would upload the patch to Berlios.
I would create a thread on the patch, and announce the patch in this thread
http://forums.codeblocks.org/index.php?topic=1764.0

Note: They are redesigning the compiler framework for RC3, so after RC3 it should be easier to add new compilers or at least it will be different. I was thinking of adding a compiler myself and decided to wait till I learned more and hope that RC3 was released.

Tim S
« Last Edit: January 08, 2007, 04:17:28 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org