This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: stabs difference gcc 2.95.3 -> 3.4.3
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sourceware dot org
- Date: Mon, 03 Apr 2006 10:41:01 +0200
- Subject: Re: stabs difference gcc 2.95.3 -> 3.4.3
- References: <5.2.0.9.1.20060331154403.01f90670@NT_SERVER> <5.2.0.9.1.20060330162459.01fbe008@NT_SERVER> <5.2.0.9.1.20060330083638.01f6da00@NT_SERVER> <5.2.0.9.1.20060330083638.01f6da00@NT_SERVER> <5.2.0.9.1.20060330162459.01fbe008@NT_SERVER> <5.2.0.9.1.20060331154403.01f90670@NT_SERVER>
>> 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/Invoking.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