1.1.49 $OUTPUT_FORMAT : Specify the output format

f$OUTPUT_FORMAT formatg has the same functionality as the -A command-line option: it tells the compiler what kind of object le must be generated. You can specify this switch only before the Program or Unit clause in your source le. The dierent kinds of formats are shown in table (1.1).

The default output format depends on the platform the compiler was compiled on.


Table 1.1: Formats generated by the x86 compiler



Switch value Generated format


AS AT&T assembler le.
AS_AOUT Go32v1 assembler le.
ASW AT&T Win32 assembler le.
COFF Go32v2 COFF object le.
MASM Masm assembler le.
NASM Nasm assembler le.
NASMCOFFNasm assembler le (COFF format).
NASMELF Nasm assembler le (ELF format).
PECOFF PECOFF object le (Win32).
TASM Tasm assembler le.