List Info

Thread: stabs difference gcc 2.95.3 -> 3.4.3




stabs difference gcc 2.95.3 -> 3.4.3
user name
2006-03-31 14:00:51
On Fri, Mar 31, 2006 at 03:54:28PM +0200, Fabian Cenedese
wrote:
> At 10:20 30.03.2006 -0500, Daniel Jacobowitz wrote:
> >On Thu, Mar 30, 2006 at 04:33:11PM +0200, Fabian
Cenedese wrote:
> >> Well, as the currently used compiler 2.95.3 is
even older and I supposed
> >> that the stabs format should be compatible I
didn't especially try the
> >> newest versions but I may now.
> >
> >The C++ front end has gotten much more
sophisticated.  Namespace
> >debugging works in DWARF-2, but fails badly in
stabs.
> >
> >> The -g is given to gcc, I don't know if that
gets passed on to as. But so 
> >> was the setup with the older compiler as well,
where it worked.
> >
> >GCC 2.95.x predates assembler -g support; GCC 3.4.x
doesn't.
> 
> Can I somehow prevent gcc from relaying it to as?
Something like
> -Wa,(no, don't do -g)? I didn't find a matching
parameter on
> 
> http://sourceware.org/binutils/docs-2.16/as/In
voking.html#Invoking

You're compiling in two steps already; how about not
passing -g the
second time?

> But then again it isn't mentioned either that as would
take -g.

It's translated to --gdwarf-2 or --gstabs.

-- 
Daniel Jacobowitz
CodeSourcery
stabs difference gcc 2.95.3 -> 3.4.3
user name
2006-04-03 08:41:01
>> Can I somehow prevent gcc from relaying it to as?
Something like
>> -Wa,(no, don't do -g)? I didn't find a matching
parameter on
>> 
>> http://sourceware.org/binutils/docs-2.16/as/In
voking.html#Invoking
>
>You're compiling in two steps already; how about not
passing -g the
>second time?

Yeah, I came to that conclusion as well, or even better
calling as directly.

>> But then again it isn't mentioned either that as
would take -g.
>
>It's translated to --gdwarf-2 or --gstabs.

Thanks for your help, I'll shut up now 

bye  Fabi


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )