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

Earnie Boyd
Mon May 31 21:10:00 GMT 1999

--- Jurgis Armanavichius <> 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" < >
       DLLHELP: < >
                < >
Do You Yahoo!?
Get your free address at

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list