flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > make windows command line fasm.exe use fasmw.ini?

Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Is it possible to make the fasm.exe windows command line version use the fasmw.ini file by default? Is there a command line switch for this?

_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 26 Nov 2008, 03:03
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2942
Location: vpcmipstrm
bitRAKE
Code:
@ECHO OFF
SET FASMW=F:\FASMW16729
SET PATH=%FASMW%;%PATH%
SET INCLUDE=%FASMW%\INCLUDE
FASM %*    
I use a batch file instead of calling FASM.EXE directly. That way I don't have to edit the environment or change source files.
Post 26 Nov 2008, 03:57
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17476
Location: In your JS exploiting you and your system
revolution
The command line version doesn't use any ini files. You can set the memory and passes options in the command line.
Post 26 Nov 2008, 06:02
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
I was hoping that Tomasz would write code into fasm.exe that would use the fasmw.ini file if one was available. That way no one would have to mess with batch files or assembly switches.
Post 26 Nov 2008, 13:26
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.