User forums > Using Code::Blocks

Using code:blocks with iar compiler

<< < (2/2)

AlTab:
Hi,
ill set everything as you sed, but after i try to build my project, the compiler send error message:

Command line error: Unexpected command line arguments:
          -Wall

I cant fing where is thet parameter set.
Can you or anyone else help me ?

I try to develop app by Code::Blocks for Renesas 78K0R MCU, by using IAR compiler (icc78k0r.exe).

Another ask, do you know how to set C::B for debug app for 78K0R by Minicube2 debugger ?

Thanks a lot...

Freem:
settings -> compiler -> compiler settings tab, compiler flags tab, in warnings.
If not there, look in your project too, and it's targets.

pozzugno:
I want to configure Code::Blocks so it can compile IAR Embedded Workbench for ARM projects.

I configured the project in C::B as "custom Makefile" and used the tool iarbuild.exe from IAR to
make/clean/rebuild the project. In this way, I can obtain the same output file from IAR IDE and
C::B IDE. Of course, I have to create two projects, one for IAR and one for C::B.

I don't know how to setup C::B to use IAR to compile a single file of the projects. The tool iarbuild.exe
is for compiling all the project and not a single file. The C compiler from IAR is iccarm.exe, but I don't
want to copy the same compiling options from IAR IDE to C::B IDE. I'd like to have iccarm.exe taking
the compiling options directly from IAR project (as iarbuild.exe does).

RyoDC:
I had this problem:
I've removed all the unnecessary compiler options from my project, but it still complains about some '-c' option (which is a GCC option, as far as i know), and I don't know how to remove it (And there's no mention of this option in any GUI menu of codeblocks).
Any ideas?

Navigation

[0] Message Index

[*] Previous page

Go to full version