This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: Does anyone know how to get C module's listing file?


--- Jurgis Armanavichius <jurgis@medelkom.com> wrote:
> Hello,
>  
> I like to get complete listing file from my compilation 
> process. I mind both SOURCE and ASM statements.  
> In some difficult cases it is very useful.
> I know "-Wa,-ahlsd=$(basename $@).lst,-L" GCC key 
>  only. But in *.lst file I have not sinchronized text. I think
>  it is because optimization process?
>  
>  Do you know better method? For example in LST file
> I like to see something like this:
>  
>  ;   SomeWORDVariable = 5;
>                   mov.w     #5,r2
>                   mov.w     r2,@_SomeWORDVariable:16
>  
>  And so on.
>  

For a brief description of the available switches do gcc --help, cpp --help and
ld --help.

To execute cpp you will need to specify the path which will be under
lib/gcc-lib/... follow the ... until you find cpp.exe.

===
"Earnie Boyd" <mailto:earnie_boyd@yahoo.com>
CYGWIN RELATED HELP:
 DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
                <http://www.eGroups.com/list/gnu-win32/>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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