News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How to add support to unsupported compiler?

Started by Edvinas, January 05, 2007, 02:57:40 AM

Previous topic - Next topic

Edvinas

Hi,

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

--
Edvinas

Game_Ender

Copy an existing one and go the advanced tab and starting editing the options.

Pecan

   //-- 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

Quote from: Game_Ender on January 05, 2007, 06:00:11 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...

stahta01

#4
Quote from: Edvinas on January 08, 2007, 03:48:34 AM
Quote from: Game_Ender on January 05, 2007, 06:00:11 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.next.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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]