Code::Blocks Forums

User forums => Embedded development => Topic started by: fubo on July 16, 2010, 04:04:51 pm

Title: ARM RVCT with C::B
Post by: fubo on July 16, 2010, 04:04:51 pm
Hi all,
I just discovered C::B 10 and I'm trying to use it in my environment. I use both codesourcery and ARM RVCT 3.1 and 4.0. For codesourcery, I could reconfigure GNU ARM GCC, but what about RVCT? Is there a way to add a new type of compiler to C::B?
Regards.
Title: Re: ARM RVCT with C::B
Post by: killerbot on July 16, 2010, 04:33:59 pm
yes, in the compiler settings you can copy an exsiting compiler (eg gcc) and then you can select it from the drop down box of possible compilers, and you adjust all the settings as they should be for that specific compiler.
Title: Re: ARM RVCT with C::B
Post by: fubo on July 16, 2010, 04:39:05 pm
Thanks.
Now, is there a way to change the list of options if they differ from GNU type?
Regards.
Title: Re: ARM RVCT with C::B
Post by: fubo on July 16, 2010, 05:31:15 pm
And, how to share the settings with other guys? Where the new compiler settings are saved?
Regards.
Title: Re: ARM RVCT with C::B
Post by: killerbot on July 16, 2010, 06:21:32 pm
they are stored in you default.conf --> user_sets section of the compilers.

Sharing -> I always do copy/paste of the section that  matters from that default.conf ;-)
Title: Re: ARM RVCT with C::B
Post by: Jenna on July 16, 2010, 06:25:44 pm
cb_share_config[.exe] is made fo this purpose.
Title: Re: ARM RVCT with C::B
Post by: fubo on July 16, 2010, 07:11:47 pm
Thanks.
Now, is there a way to change the list of options if they differ from GNU type?
Regards.
What about this question? If nothing is included in compiler plugin, could I help in adding it?
Title: Re: ARM RVCT with C::B
Post by: fubo on July 16, 2010, 07:41:03 pm
Hi,
I can't setup properly the output parser. What should I set for:

"test.c", line 10: Warning:  #128-D: loop is not reachable from preceding code

Regards.
Title: Re: ARM RVCT with C::B
Post by: fubo on July 20, 2010, 12:24:45 pm
Another question: is there a way to invoke a different command for assembler files? I noticed that armcc RVCT does not pass all parameters to armasm when switching to assembly compilation for .s files.
Title: Re: ARM RVCT with C::B
Post by: stahta01 on July 21, 2010, 07:51:51 pm
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
http://wiki.codeblocks.org/index.php?title=Custom_compiler

Tim S.
Title: Re: ARM RVCT with C::B
Post by: fubo on July 21, 2010, 07:56:12 pm
Thanks. I was able to find by myself the answer. I am really loving C::B and excited of what it can do. I was able to properly setup it for RVCT now. If only doxygen plugin would be available for C::B 10.05, it would be perfect...
Title: Re: ARM RVCT with C::B
Post by: killerbot on July 21, 2010, 08:57:12 pm
this will come next week ;-)