Does anyone know how can i produce OMF obj files, or how can i convert the ones generated by ml?
Thanks.
Ghirai,
one of your swtich's to ML should be /omf
Zcoder....
Yeah, but it doesn't seem to work.
"invalid command-line option : /OMF"
"invalid command-line option : /OMF"
What version are you using? and did you do it in lower case? as the /? displays all the options
and it is listed but in lowercase.
Zcoder....
I have ml 6.14.
QuoteML [ /options ] filelist [ /link linkoptions ]
/AT Enable tiny model (.COM file) /nologo Suppress copyright message
/Bl<linker> Use alternate linker /Sa Maximize source listing
/c Assemble without linking /Sc Generate timings in listing
/Cp Preserve case of user identifiers /Sf Generate first pass listing
/Cu Map all identifiers to upper case /Sl<width> Set line width
/Cx Preserve case in publics, externs /Sn Suppress symbol-table listing
/coff generate COFF format object file /Sp<length> Set page length
/D<name>[=text] Define text macro /Ss<string> Set subtitle
/EP Output preprocessed listing to stdout /St<string> Set title
/F <hex> Set stack size (bytes) /Sx List false conditionals
/Fe<file> Name executable /Ta<file> Assemble non-.ASM file
/Fl[file] Generate listing /w Same as /W0 /WX
/Fm[file] Generate map /WX Treat warnings as errors
/Fo<file> Name object file /W<number> Set warning level
/FPi Generate 80x87 emulator encoding /X Ignore INCLUDE environment path
/Fr[file] Generate limited browser info /Zd Add line number debug info
/FR[file] Generate full browser info /Zf Make all symbols public
/G<c|d|z> Use Pascal, C, or Stdcall calls /Zi Add symbolic debug info
/H<number> Set max external name length /Zm Enable MASM 5.10 compatibility
/I<name> Add include path /Zp[n] Set structure alignment
/link <linker options and libraries> /Zs Perform syntax check only
ml should produce OMFs by default, that is if you don't specify /coff switch an OMF object will be produced.
It works, thanks.
Just a note, in ML 6.15 the /omf switch was added and in ML 7.00 /coff became the default (IIRC).
There also is a coff2omf converter by Digital Mars but they supply it as a module of a commercial package.