Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Arrays and pointers in GCC

2009-01-12 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, dlc <dlc@...> wrote:
> The C is not interspersed.  How do I get this enabled in 
> the compiler?
You may not be using the right set of compiler options.  Clearly, 
debugging information must be embedded in the .elf file to allow avr-
objdump to produce the listing.  I use -gdwarf-2; other debug 
information formats may produce similar results.

Note, also, that I cautioned that optimization can render parts of 
the .lss file useless.  In particular, inlined functions are not going 
to appear with interspersed C/assembly language.

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.