Author Topic: i want using the code::blocks develop arm,but i'mnot setting it.  (Read 5544 times)

may_cauc

  • Guest
i want using the code::blocks develop arm,but i'mnot setting it.who help me? thanks!
my email is zhoujinliang@gmail.com
« Last Edit: May 14, 2006, 03:02:26 pm by may_cauc »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: i want using the code::blocks develop arm,but i'mnot setting it.
« Reply #1 on: May 14, 2006, 03:33:00 pm »
i want using the code::blocks develop arm,but i'mnot setting it.who help me? thanks!
my email is zhoujinliang@gmail.com
Not sure if I understand what you mean, but I assume you want to use the Code::Blocks development branch?

You can download one of Killerbot's nightly builds, these reflect the development branch.
The latest one is here: http://forums.codeblocks.org/index.php?topic=3087.0

Do not mix nightly builds and the RC2 version. Before installing one, delete the other (you can use both at the same time, but you have to put them into separate directories).

To get the source, you need Subversion (http://subversion.tigris.org) first. Open a shell and type: svn checkout svn://svn.berlios.de/codeblocks/trunk.

Instructions on how to build from sources are on the forum (Windows):
http://forums.codeblocks.org/index.php?topic=1701.0

and on the WiKi (all platforms):
http://wiki.codeblocks.org/index.php?title=Building_From_Source
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

cocoloco

  • Guest
Re: i want using the code::blocks develop arm,but i'mnot setting it.
« Reply #2 on: May 14, 2006, 04:18:53 pm »
mmm... you say is how configure cb to use arm compiler?

Offline Defender

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: i want using the code::blocks develop arm,but i'mnot setting it.
« Reply #3 on: May 14, 2006, 05:59:10 pm »
Do you mean a compiler for the arm platform, like the rowley compiler?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: i want using the code::blocks develop arm,but i'mnot setting it.
« Reply #4 on: May 14, 2006, 06:25:59 pm »
Don't think that was it. But then, who knows  8)

Although I have never used ARM myself, it is supported since revision 2016 (16 February). Should not take anything special to use.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

may_cauc

  • Guest
Re: i want using the code::blocks develop arm,but i'mnot setting it.
« Reply #5 on: May 17, 2006, 04:55:52 am »

when i use my own makefile,the result is right.but i cancel( project->properties->project->this is coustom makefile) radiobox option,some error exist.
i want know how configure cb to use arm compiler?

Offline martind

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: i want using the code::blocks develop arm,but i'mnot setting it.
« Reply #6 on: July 05, 2006, 06:40:42 pm »
I have had success in compiling my ARM966 project using code::blocks. It handles ARM compiles fine.
I am using build 5th July, 2006. I believe I need to recompile the plugin though, as some options come up as =NAME, for example: -march=NAME obviously needs changing in the source code for your specific arm target.

If like me you are using ARM966, I need to change the plugin source code so the compiler option reads:
-march=armv5te instead of -march=NAME
for example. For now I just override this in the extra options... lazy...

The only thing I have not managed to get working yet is the GDB plugin with ARM.
I think I have an issue with pathnames or something, because I cannot set any breakpoints at all. As I am using Windows, I suspect a '/' '\' issue.

Let me know if you want a skeleton project, and I will post one.





Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: i want using the code::blocks develop arm,but i'mnot setting it.
« Reply #7 on: July 05, 2006, 07:00:05 pm »
-march=armv5te instead of -march=NAME
Are you aware, that you can finetune every compiler's option? Goto Settings->Compiler and Debugger->Select your compiler->Click on the "Other" tab->Click on "Advanced options..."

Let me know if you want a skeleton project, and I will post one.
Yes, why not. If you like you could also design a project wizard. Anyway, feel free to post.

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ