Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Intel C++ Compiler Support
rickg22:
--- Quote from: mandrav on October 22, 2005, 09:19:41 am ---Rick's new task: add Intel compiler support :P
--- End quote ---
ACK! I don't know how! :( I've never touched that area of C::B yet :(
yop:
--- Quote from: mandrav on October 22, 2005, 09:19:41 am ---[*] Copy compilerMSVC.(cpp|h) to compilerINTEL.(cpp|h). (in plugins/compilergcc).
[*] Adjust contents of compilerINTEL.cpp to support the new compiler.
[*] Add #include "compilerINTEL.h" in compiler.gcc
[*] In compilergcc's constructor, where it says "// register built-in compilers", add "CompilerFactory::RegisterCompiler(new CompilerINTEL);"
[*] Build.
[/list]
--- End quote ---
Did the above (in linux to use icc) but I keep getting two sdcc entries instead of the new icc one I've created. The new files are just copies of the compilerMINGW with the path and the app files pointing to icc, because I just wanted to see how the new compiler will be added and then proceed with the rest (compiler options etc).
mandrav:
Try renaming "~/.Code::Blocks v1.0" to something else. Maybe your configuration is somehow screwed.
Or, run a 'cvs diff > diff.txt' and attach it here to see what's wrong.
yop:
I got it to show up :D. I uninstalled c::b completely removed everything from my home directory got a fresh cvs version added to the copilergcc Makefile.am my new files added the new compiler to the compilergcc.cpp and I built, installed run and then built my projects with Intel's ICC :D. I'll do some work with the compiler options and submit a patch for the ICC (Linux - non commercial, don't know what the deal is with the windows version). Since I'll get involved in this could someone point out some reading material for regular expressions cause my guess is that I'll need them :wink:
rickg22:
By the way, I was thinking... that file is created by the wxConfigBase, right?
Why not add (in future versions) an #ifdef that changes the name of the configuration entry so that it's something else on linux, like "codeblocks.1.0.conf" ? :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version