GNU Info

Info Node: (nasm.info)Section 2.1.2

(nasm.info)Section 2.1.2


Next: Section 2.1.3 Prev: Section 2.1.1 Up: Section 2.1
Enter node , (file) or (file)node

2.1.2. The `-f' Option: Specifying the Output File Format
---------------------------------------------------------

   If you do not supply the `-f' option to NASM, it will choose an
output file format for you itself. In the distribution versions of
NASM, the default is always `bin'; if you've compiled your own copy of
NASM, you can redefine `OF_DEFAULT' at compile time and choose what you
want the default to be.

   Like `-o', the intervening space between `-f' and the output file
format is optional; so `-f elf' and `-felf' are both valid.

   A complete list of the available output file formats can be given by
issuing the command `nasm -hf'.


automatically generated by info2www version 1.2.2.9