This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Gas vs irregular files


Etienne Lorrain <etienne_lorrain@yahoo.fr> writes:

>  While reading the manual, I see that you cannot use "-" as a filename
>  for standard input, so that you can pipe the output of another
>  command (not only GAS/LD but for instance some software to read
>  FLASH/EEPROM). That is another "non usual" behaviour which could be
>  fixed if someone has the time for that.

You can pipe standard input to the assembler.  That's how gcc works
when the -pipe option is used.

It would be difficult to make the linker or objdump read from standard
input.  The only feasible way to do it would be to read standard input
into a temporary file (possibly in memory), and work from there.

Ian


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