--- In lpc2000@yahoogroups.com, "bdmlpc" <list@n...> wrote:
>
> Hello,
>
> just turn on debugging info ('-g') and have a look at your object- or
> elf-file with 'arm-elf-objdump -DS <file>'. This will display C-
source
> and assembler in a mix. Hint: If you turn off optimization ('-O') the
> output is more readable!
>
> Sten
^^^ EXCELLENT! ^^^
I decided to get a combined .LST file for every source by using:
CFLAGS = -I./ -c -fno-common -O0 -g -Wa,-ahls=$*.lst -Wall
.....................................^^^^^^^^^^^^^^^^
RichardMessage
Re: C code inline with assembler file output
2005-10-19 by rtstofer