Author Topic: C::B 8.02+Yagarto,"Build Method" disabled, no posibility to use custom makefiles  (Read 10828 times)

pkmiecinski

  • Guest
Hi,
I realy enjoy Code::Blocks and I want use it in developing my arm project but i have problem mentioned in topic title.
I've downloaded latest version of stable release 8.02, read some integrating tutorials but they are quite old.
I'm trying to use Yagarto toolchain and I cannot choose Build method because it is always disabled.
I've tryied it also with GNUARM toolchain, effect was the same.

Annyone knows the solution or place where older binaries are kept?

Offline deadneurons

  • Multiple posting newcomer
  • *
  • Posts: 39
hi, I use WinArm and custom makefile.
to use custom makefile goto menu Project->Properties
tick the box that says "This is a custom makefile".

Set your toolchain.
goto menu Settings->Compiler&Debugger
on the selected compiler you might want select
the GNU ARM GCC compiler and click the copy button
then rename it to whatever you like.
On the toolchain tab change your compiler's installed
directory to wherever yagarto is installed.
I actually just installed yagarto to verify this,
but i got mine installed in C:\yagarto btw. (Yagarto installer
prompted me to install in it c:\program files\yagarto).
Then you could verify if the executives are actually pointing
to yagarto install dir when you click on the ellipses beside the
*.exe's.  You might also want to add something on the "additonal
path" tabs.

I almost forgot, you might want to rename your target (e.g build,release)
to whatever you use if you call make manually (e.g. make all).
Another way would be to goto menu Projects->Build options...
goto the rightmost tab with label "Make Commands", it's
prob'ly hidden click on arrow, and change $target to "all" for example.

I think that's it, 'hope this helps.