[U-Boot] [PATCH] powerpc:Enable compiler debug option for powerpc platforms

Wolfgang Denk wd at denx.de
Mon Apr 25 12:14:39 CEST 2011


Dear Zang Roy-R61911,

In message <2239AC579C7D3646A720227A37E02681124DC3 at 039-SN1MPN1-004.039d.mgd.msft.net> you wrote:
> 
> > |                                                            ... I can't
> > | provide exact details, since the current toolchains work fine without
> > | such tweaking - I only wanted to point out that if you need to specify
> > | the exact debug format, then it might be platform-specific.
> > |
> > | A simple "-g" should be fine in the common area.
> > 
> > I agree to this.
> So "-g" in the common area and leave "-gdwarf2" for platform-specific?

"-g" in the common area is probably OK.  Additional options may depend
on the architecture and/or tool chain used, so we better leave these
out from the mainline code.  If needed, they could be changed /
appended from the make command line.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Certainly there are things in life that money  can't  buy,  but  it's
very funny - Did you ever try buying them without money? - Ogden Nash


More information about the U-Boot mailing list