Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: drev on June 25, 2008, 01:39:46 pm
-
Hello !
Is it possible to have serveral toolchain exectuable (settings/compiler and debuger/ global compiler settings / toolchain executable). and switch easly between them?
For example, I got gcc 4.xx that I commonly use, devkitpro that use a gcc for power PC, gcj for java , gcd for D...
I don't want to change all path when I change the compiler...
there is maybe a menu, plugin, configuration scripts that can do that ?
-
Create a new compiler by copying the one you change manually at the moment.
Then you can set up the executables as you like.
-
Sorry, i don't understand. Is there a script or xml based configuration file (like .cbp projects) file that I can copy ?
-
- Go to "Settings -> Compiler and debugger... -> Global compiler settings",
- chose the compiler you want to copy from the dropdown-list,
- click the "Copy"-button, type a name in the text-box,
- click the "Ok"-button,
- change the toolchain-executables as you need them.
In your projects (or their build targets) you can now chose (and use) the new compiler.
-
Oh ! thanks, sorry for that noob question (I should have seen it).
And there is alderly a gcc power pc ! Codeblocks rules :)