Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 949] New: compile with debug info
@ 2010-01-23 10:21 bugzilla at busybox.net
  2010-02-21 18:51 ` [Buildroot] [Bug 949] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2010-01-23 10:21 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=949

           Summary: compile with debug info
           Product: buildroot
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: yasser_kashfi at yahoo.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


if user dos not select 'build with debug info' the default compile flag is set
to -g. however this is wrong. in this case compile flag (cflags & cxxflags)
must be set to -g0. I solved this problem by patch the fallowing file:
package/Makefile.in:
+ifneq ($(BR2_ENABLE_DEBUG),y)
+TARGET_DEBUGGING=-g0
+endif
ifeq ($(BR2_DEBUG_1),y)
TARGET_DEBUGGING=-g1
endif
...

best regards


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-18 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23 10:21 [Buildroot] [Bug 949] New: compile with debug info bugzilla at busybox.net
2010-02-21 18:51 ` [Buildroot] [Bug 949] " bugzilla at busybox.net
2010-04-09 14:54 ` bugzilla at busybox.net
2010-07-18 21:30 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox