User forums > Using Code::Blocks

Serveral toolchain executable

(1/1)

drev:
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 ?

Jenna:
Create a new compiler by copying the one you change manually at the moment.
Then you can set up the executables as you like.

drev:
Sorry, i don't understand. Is there a script or xml based configuration file (like .cbp projects) file that I can copy ?

Jenna:

* 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.

drev:
Oh ! thanks, sorry for that noob question (I should have seen it).
And there is alderly a gcc power pc ! Codeblocks rules :)

Navigation

[0] Message Index

Go to full version