GNU as and assembler listing and -pipe and gcc!!!...

ali hagigat
Wed May 11 09:13:00 GMT 2011

2.1 Enable Listings: ‘-a[cdhlns]’
Note if the assembler source is coming from the standard input (eg
because it is being
created by gcc and the ‘-pipe’ command line switch is being used) then
the listing will not
contain any comments or preprocessor directives. This is because the
listing code buffers
input source lines from stdin only after they have been preprocessed
by the assembler. This
reduces memory usage and makes the code more efficient.
I have copied part of the as manual in the above.

What is the relationship of the standard input, -pipe, gcc and as?
Please give a clear example for this part of GNU "as" manual.

More information about the Binutils mailing list