Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: spectrum on November 01, 2010, 11:59:12 am

Title: project related toolchain
Post by: spectrum on November 01, 2010, 11:59:12 am
hi all,
is there a way to set up a project related toolchain executables without changing general compiler and debugging settings ?
Title: Re: project related toolchain
Post by: mariocup on November 01, 2010, 12:55:15 pm
Hi,

there are different solutions:

You could define the general toolchain executables using an environment variable e.g. TOOLCHAIN and use the macro replacement here. $(TOOLCHAIN)

You could then specify a project variable TOOLCHAIN and set it to a specific value.
Title: Re: project related toolchain
Post by: tanq on November 06, 2010, 03:40:03 pm
Goto to Compiler Settings and clone GCC toolchain as many times as you need :D. Then you can select proper toolchain in project build options.