This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Comments in assember output


Thanks, but this is not working.
The GNU assembler manpages do not indicate that 'as' knows this option.
Which version are you using?

My gcc versions and assembler versions are:

gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

GNU assembler version 2.15.92.0.2 (i386-redhat-linux) using BFD version 
2.15.92.0.2 20040927


On Friday 24 November 2006 17:44, Andrew Haley wrote:
> Artur Krzysztof Szostak writes:
>  > Is there a way to make GCC output the source code comments or
>  > corresponding c++ source code that generated a set of assembler
>  > instructions in the .s files?
>
> Yes.
>
> -Wa,-adhls
>
> Andrew.

-- 

Artur Szostak

Tel. +27 21 650 3356
Mobile: +27 82 297 9502
Emails: artur@alice.phy.uct.ac.za  artursz@iafrica.com
AIM: artiblot
Skype: artiblot
Room: 4T6
Address:
R.W. James Building,
Rondebosch, 7701
Cape Town, South Africa

Physics Department
University of Cape Town


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]