The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: bert on October 02, 2005, 11:03:33 AM

Title: assembling multiple files at once using ML7.0
Post by: bert on October 02, 2005, 11:03:33 AM
    ml /c asmsrc1.asm asmsrc2.asm

works with ml6xx but not with ml7.0 from the XPDDK. sure, this is a known bug, but
is there a workaround?

bert
Title: Re: assembling multiple files at once using ML7.0
Post by: Dinosaur on October 05, 2005, 02:56:10 AM
Bert

Simply create batch file and assemble as follows.

ML / c asmsrc1.asm
ML /c  asmsrc2.asm
etc.
Title: Re: assembling multiple files at once using ML7.0
Post by: AeroASM on October 05, 2005, 05:49:54 PM
Or use this batch file:


rem ML7 multiple file workaround
rem this file is called ml.bat
:loop
if "%1" == "" goto end
ml /c "%1"
shift
goto loop
:end


Usage:

ml.bat asmsrc1.asm asmsrc2.asm
Title: Re: assembling multiple files at once using ML7.0
Post by: bert on October 06, 2005, 07:23:25 PM
hi guys,

thank you, but it does not help me.

assembling 1000 files AT ONCE is dramatically faster than calling ml.exe 1000 times from a batchfile, really.

And keep in mind, that every C-compiler and Assembler can do that, exept ML7.00.
Is ther a bugfix???

bert
Title: Re: assembling multiple files at once using ML7.0
Post by: Dinosaur on October 07, 2005, 12:06:06 AM
Bert

After testing that method on ML 6.14.844 I agree, it's much faster.
I hope you have the patience to type in an assembly string of 1000 files. :bg

Never looked into ML 7, what's the difference ?

Regards
Title: Re: assembling multiple files at once using ML7.0
Post by: hutch-- on October 07, 2005, 08:14:53 AM
Bert,

Use a response file as the command line *.asm support with ML 7.00 is broken.
Title: Re: assembling multiple files at once using ML7.0
Post by: bert on October 07, 2005, 08:02:59 PM
hutch,

this is a good idea.

dir /b *.asm > filelist.rsp
ml /c @filelist.rsp

Same result. It works using ML615 but, not using ML700.
Is this phenomena fixed in a later version, so i could wait a moment?

regards,
Bert
Title: Re: assembling multiple files at once using ML7.0
Post by: AeroASM on October 07, 2005, 08:50:16 PM
Why do you need ML7? It is for most purposes the same as 615.
The next version of ML is 8, which is even buggier.