Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: BrianSidebotham on February 14, 2007, 05:09:54 pm

Title: Compiler settings?
Post by: BrianSidebotham on February 14, 2007, 05:09:54 pm
Hi All,

I am integrating avr-gcc compiler support to c::b, but I have a few questions..

For some compiler options you need a name, and as such the GNUARM compiler has settings such as -mcpu=NAME. But how is NAME resolved? All of the options in the GNUARM compiler which are better set with a string rather than a list of checkboxes are -option=NAME...

Secondly, it would be great to be able to set a category as radio buttons rather than checkboxes. For example, a list of target cpus would be useful, but if it's a checkbox list, it's a bit more of a ball ache. I know I can use the test section of AddOption, but to do that on a lot of processor options is a nightmare.

Any thoughts or hints?

Thanks,

Brian.
Title: Re: Compiler settings?
Post by: dumarjo on February 14, 2007, 05:32:24 pm
i'm in the same situation as you. I'm not able to resolv the NAME thing.

hope you find this answer !!!

dumarjo
Title: Re: Compiler settings?
Post by: BrianSidebotham on February 16, 2007, 11:27:58 am
Clearly the =NAME thing is unsupported and probably there in error then?

I'll integrate avr-gcc with a different method.