This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Update of gcc/config/alpha/elf.h
- From: Michael S. Zick <mszick at goquest dot com>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Tue, 3 Sep 2002 01:41:55 -0500
- Subject: Re: Update of gcc/config/alpha/elf.h
- References: <02090223312700.19712@localhost.localdomain>
On Monday 02 September 2002 11:31 pm, you wrote:
> Cross compiler woes,
> While tring to build for an Alpha target, using binutils-2.13, I found that
> the debug flags had changed. Since other parts of the compiler need
> binutils-2.12++ I didn't try to conditionalize the change.
>
> gcc/config/alpha/ChangeLog
> * elf.h (ASM_SPEC): Update debug flags.
>
> --- gcc/config/alpha/elf.h.old Mon Sep 2 23:12:00 2002
> +++ gcc/config/alpha/elf.h.new Mon Sep 2 23:16:49 2002
> @@ -39,7 +39,8 @@
> #define CC1_SPEC "%{G*}"
>
> #undef ASM_SPEC
> -#define ASM_SPEC "%{G*} %{relax:-relax}
> %{!gstabs*:-no-mdebug}%{gstabs*:-mdebug}" +/* use new GNU-AS debug options
> - dwarf2 unless told otherwise. */ +#define ASM_SPEC "%{G*}
> %{relax:-relax}%{!gstabs*:-gdwarf2}%{gstabs*:-gstabs}"
>
> #undef LINK_SPEC
> #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
In reply to my own suggestion (after a long nap)....
That isn't a very good idea.
Should handle all three cases: stabs, dwarf2, none.
Please hold the flames, I'll do better next time.
Mike