News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Produce OMF OBJs?

Started by Ghirai, April 10, 2006, 10:05:29 PM

Previous topic - Next topic

Ghirai

Does anyone know how can i produce OMF obj files, or how can i convert the ones generated by ml?

Thanks.

MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html

zcoder

Ghirai,
one of your swtich's to ML should be /omf

Zcoder....
Back in 1979, My computer ran so fine.
And there was no such thing,
As a Microsoft Crashed Machine.
http://zcoder.110mb.com
http://www.dietzel.com/partner/idevaffiliate.php?id=345_6  Free Domain Names

Ghirai

Yeah, but it doesn't seem to work.

"invalid command-line option : /OMF"
MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html

zcoder


"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....
Back in 1979, My computer ran so fine.
And there was no such thing,
As a Microsoft Crashed Machine.
http://zcoder.110mb.com
http://www.dietzel.com/partner/idevaffiliate.php?id=345_6  Free Domain Names

Ghirai

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

MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html

arafel

ml should produce OMFs by default, that is if you don't specify /coff switch an OMF object will be produced.

Ghirai

MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html

GregL

Just a note, in ML 6.15 the /omf switch was added and in ML 7.00 /coff became the default (IIRC).


Vortex

There also is a coff2omf converter by Digital Mars but they supply it as a module of a commercial package.