User forums > Help
How to add support to unsupported compiler?
(1/1)
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.
--- End quote ---
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:
--- 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.
--- End quote ---
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...
--- End quote ---
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
Navigation
[0] Message Index
Go to full version