OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:38 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: BAT Files
PostPosted: Mon Nov 05, 2007 10:31 am 
Offline
Member
Member
User avatar

Joined: Sat Nov 03, 2007 10:17 am
Posts: 73
Location: Toky,Japan
How do you use batch files to run nasm

_________________
Imagine if a creature came from a 4 dimensional world, would he think you to be flat?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 05, 2007 10:45 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
That's a little unspecific, but the general rule is fill the batch file with a new DOS command on each line. So for example:

Code:
@echo off
nasmw -hf


Will output all supported nasm formats. To compile a program, replace -hf with your compilation command line.

Cheers,
Adam[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 05, 2007 12:47 pm 
Offline
Member
Member

Joined: Sun Jun 18, 2006 7:21 pm
Posts: 260
The Win32 demos found in the NASMX package (Windows version) consist of batch files that demonstrate how to automate the build process for NASM under Windows.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 05, 2007 5:20 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
given your previous thread question, and posting almost the same question thirty minutes earlier, I'd really suggest you consider that you tried using google, or at least read on [wiki]How To Ask Questions[/wiki].

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group