Author Topic: ARM RVCT with C::B  (Read 15551 times)

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
ARM RVCT with C::B
« 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5513
Re: ARM RVCT with C::B
« Reply #1 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.

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: ARM RVCT with C::B
« Reply #2 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.

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: ARM RVCT with C::B
« Reply #3 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5513
Re: ARM RVCT with C::B
« Reply #4 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 ;-)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: ARM RVCT with C::B
« Reply #5 on: July 16, 2010, 06:25:44 pm »
cb_share_config[.exe] is made fo this purpose.

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: ARM RVCT with C::B
« Reply #6 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?

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: ARM RVCT with C::B
« Reply #7 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.

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: ARM RVCT with C::B
« Reply #8 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7665
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: ARM RVCT with C::B
« Reply #10 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...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5513
Re: ARM RVCT with C::B
« Reply #11 on: July 21, 2010, 08:57:12 pm »
this will come next week ;-)