This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: GCC 3.0.1 build for sh-coff and sh-hms targets
- To: GNUTeam <gnuteam at kpit dot com>
- Subject: Re: GCC 3.0.1 build for sh-coff and sh-hms targets
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 1 Nov 2001 11:11:54 -0800 (PST)
- cc: libstdc++ at gcc dot gnu dot org
> Q: If this is the case should it mean that the coff debug format is not
> recommended for C++-template programs?
IMHO, ELF/dwarf2 is the only way to get useful C++ debugging, regardless
of the backend.
dwarf2 can be forced with --with-dwarf2 on the configure line.
Most sane (non-x86) targets including powerpc-linux and alpha-linux
already use this by default.
-benjamin
>
> When removed the -g from the compilation I have a successful build on GCC
> 3.0.1 for sh-coff and sh-hms targets.
> Q: But if I want to successfully build the tool chain with '-g' CFLAGS what
> should I do?
>
> Please guide me on this.
> Thanks & regards
> Rekha
>
>