What's the output object file format of GNU assembler as?

Posted by smwikipedia on Stack Overflow See other posts from Stack Overflow or by smwikipedia
Published on 2010-04-18T10:37:19Z Indexed on 2010/04/18 10:43 UTC
Read the original article Hit count: 431

Filed under:
|
|
|
|

I have checked the assembler options of GNU assembler as and I didn't find an option to specify the output object file format. If I am using the following command

as -o foobar.o foobar.s

What object file format will I get?

The as manual says that "The GNU as can be configured to produce several alternative object file formats." But how? How can I change it to a ELF format?

Many thanks.

© Stack Overflow or respective owner

Related posts about gnu

Related posts about gas