EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

-fno-dwarf2-cfi-asm

Started by thesalsabear February 10, 2011
hi all,
I am trying to compile the demo program ARM7_LPC2106_GCC given in FreeRtos. But I get this error :
cc1: error: unrecognized command line option "-fno-dwarf2-cfi-asm"

could you please help me. I am using gnuarm for compiling

regards,
vamsi

An Engineer's Guide to the LPC2100 Series

On 10/02/2011 17:42, thesalsabear wrote:
>
>
> hi all,
> I am trying to compile the demo program ARM7_LPC2106_GCC given in
> FreeRtos. But I get this error :
> cc1: error: unrecognized command line option "-fno-dwarf2-cfi-asm"
>
> could you please help me. I am using gnuarm for compiling
>
> regards,
> vamsi

I suspect it just depends on the version and build of GCC being used.
Just try removing the option that is not recognised. I can't remember
why it is there anyway, it is not something I would normally use and
might even relate to a bug that once existed in GCC (just speculating).
The 2106 demo is the very first ARM7 demo that was created so is
rather, aged, shall we say now.
Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.

> hi all,
> I am trying to compile the demo program ARM7_LPC2106_GCC given in
> FreeRtos. But I get this error :
> cc1: error: unrecognized command line option "-fno-dwarf2-cfi-asm"
>
> could you please help me. I am using gnuarm for compiling
>
> regards,
> vamsi

Just to add to the reply I just gave - that particular demo has 4 batch
files to build (RAM/ROM, ARM/THUMB combinations. Are you using these to
build, because they set up a few environment variables that are required.

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.

On Thu, Feb 10, 2011 at 11:27 PM, FreeRTOS Info wrote:

>
> On 10/02/2011 17:42, thesalsabear wrote:
> >
> >
> > hi all,
> > I am trying to compile the demo program ARM7_LPC2106_GCC given in
> > FreeRtos. But I get this error :
> > cc1: error: unrecognized command line option "-fno-dwarf2-cfi-asm"
> >
> > could you please help me. I am using gnuarm for compiling
> >
> > regards,
> > vamsi
>
> I suspect it just depends on the version and build of GCC being used.
> Just try removing the option that is not recognised. I can't remember
> why it is there anyway, it is not something I would normally use and
> might even relate to a bug that once existed in GCC (just speculating).
> The 2106 demo is the very first ARM7 demo that was created so is
> rather, aged, shall we say now.
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> Designed for Microcontrollers. More than 7000 downloads per month.
>
> + http://www.SafeRTOS.com
> Certified by T as meeting the requirements for safety related systems.
removing the parameter did help
thankyou.

The 2024 Embedded Online Conference