Author Topic: Serveral toolchain executable  (Read 3509 times)

Offline drev

  • Multiple posting newcomer
  • *
  • Posts: 21
Serveral toolchain executable
« 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 ?
« Last Edit: June 25, 2008, 01:41:37 pm by drev »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Serveral toolchain executable
« Reply #1 on: June 25, 2008, 02:07:23 pm »
Create a new compiler by copying the one you change manually at the moment.
Then you can set up the executables as you like.

Offline drev

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Serveral toolchain executable
« Reply #2 on: June 25, 2008, 02:39:47 pm »
Sorry, i don't understand. Is there a script or xml based configuration file (like .cbp projects) file that I can copy ?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Serveral toolchain executable
« Reply #3 on: June 25, 2008, 02:55:58 pm »
  • 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.

Offline drev

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Serveral toolchain executable
« Reply #4 on: June 25, 2008, 09:43:52 pm »
Oh ! thanks, sorry for that noob question (I should have seen it).
And there is alderly a gcc power pc ! Codeblocks rules :)