#191 new
Peter Johnson

batch processing

Reported by Peter Johnson | June 25th, 2011 @ 07:51 PM

Originally posted on Trac by post@MartinSander.de
Original Trac Ticket


TASM has a very nice feature for those wishing to create whole assembler-written libraries: you can write all input file names into a response file, and TASM will process them one by one. Judging from what I could find in the YASM documentation, there is no comparable feature here. Did I miss it, or is this planned?

Trac Attachments

h3. Trac Comments

              Changed 12 months ago by peter@tortall.net

We hadn't planned this feature, but it should be relatively straightforward to add.  Is it simply a list of files, or is it command line options for each one, etc?  How is the input file specified to be a response file--if I recall it's something like "@resp"?


              Changed 12 months ago by post@MartinSander.de

Yes, a call to tasm for a whole set of input files goes like:

tasm32 @filelist.rsp

The contents of filelist.rsp would read:

file1 +file2 +file3 +file4
+file5 +file6


The response file is read as a continuation of the command line. Only it does not end after 128 characters, and line breaks are treated as continued lines as well.
After the first input file, all following names must be preceded by a '+' sign. If not specified, the default file extension .asm is assumed.

The response file could also contain command line options. Thus, you might call

tasm32 @options.rsp @filelist.rsp

I have found this feature very practical in assembling my libraries for various sets of options.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket