I use svn 5231 of C::B. I'm trying to build ARM project. I see that this version have template for ARM Project. So I choose ARM project templates, next I select olimex-lpc213x and lpc2138. I've go following warnings:
The wizard doesn't know how to setup warning flags for this compiler.
The wizard doesn't know how to setup debug flags for this compiler.
The wizard doesn't know how to setup optimisation flags for this compiler.
I use Sourcery G++ Lite toolchain.
When I try build and I've got errors:
default\src\vectors.o In function `warm_reset':
(.text+0x114) undefined reference to `IrqInit'
default\src\vectors.o In function `warm_reset':
(.text+0x140) undefined reference to `_exit
||=== Build finished: 2 errors, 0 warnings ===
Does someone successful use ARM template and can give me advice how fix this errors?
Thanks in advance.
Hi electrolot,
I wrote the ARM wizards and tested them with the ARM toolchain from HighTec (www.hightec-rt.com). Since Sourcery G++ uses also the gcc, the wizards should work with this toolchain. What seems strange to me is the message:
The wizard doesn't know how to setup warning flags for this compiler.
I am using gcc 3.4.5 for ARM projects. I will try to test it with Sourcery and newer gcc versions but this may take some time.
Bye,
Mario
Hi Mario,
thanks for fast answer.
I'm using gcc version 4.2.3.
Regards
Elektrolot
Quote from: mariocup on September 29, 2008, 05:18:15 PM
The wizard doesn't know how to setup warning flags for this compiler.
The reason for this is that we keep generic steps of the compiler setup (like setting the warning flag) in a common (library-like) script. Within this script you have to add the compiler in question if it supports a warning flag. I believe the compiler in question is just missing in the "
if" clause there.
<The wizard doesn't know how to setup warning flags for this compiler.>
hi, can you explain more detail to solve this issue, I count up this issue too. thanks
Quote from: jeorama on May 06, 2009, 03:28:10 AM
<The wizard doesn't know how to setup warning flags for this compiler.>
hi, can you explain more detail to solve this issue, I count up this issue too. thanks
patched in the rev5536 of svn .