GNU Info

Info Node: (nasm.info)Section 6.3

(nasm.info)Section 6.3


Next: Section 6.3.1 Prev: Section 6.2.8 Up: Chapter 6
Enter node , (file) or (file)node

6.3. `win32': Microsoft Win32 Object Files
==========================================

   The `win32' output format generates Microsoft Win32 object files,
suitable for passing to Microsoft linkers such as Visual C++. Note that
Borland Win32 compilers do not use this format, but use `obj' instead
(see *Note Section 6.2::).

   `win32' provides a default output file-name extension of `.obj'.

   Note that although Microsoft say that Win32 object files follow the
`COFF' (Common Object File Format) standard, the object files produced
by Microsoft Win32 compilers are not compatible with COFF linkers such
as DJGPP's, and vice versa. This is due to a difference of opinion over
the precise semantics of PC-relative relocations. To produce COFF files
suitable for DJGPP, use NASM's `coff' output format; conversely, the
`coff' format does not produce object files that Win32 linkers can
generate correct output from.

Section 6.3.1
`win32' Extensions to the `SECTION' Directive

automatically generated by info2www version 1.2.2.9