Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Default compilation with -g?

Default compilation with -g?

From: Bertrik Sikken <bertrik_at_sikken.nl>
Date: Tue, 29 May 2012 18:20:48 +0200

Hi all,

While debugging a problem using our shiny new ARM backtrace feature,
I noticed that by default, we're not building with -g (= include
debugging information in the binary). This means that with the
default build, I can't get the source code line from the backtrace
addresses (with arm-elf-eabi-addr2line)

How about enabling option -g by default?

I don't think it adds anything to the binary that runs on the
targets, but perhaps a bit to the intermediate results on the
build clients.

With kind regards,
Bertrik
Received on 2012-05-29

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy