flat assembler
Message board for the users of flat assembler.

Index > Windows > FASM comand line options

Author
Thread Post new topic Reply to topic
ishkabible



Joined: 13 Sep 2010
Posts: 54
ishkabible
so im making an editor for FASM in Qt becuase i don't like FASMW that is distributed. this leads me to the question "what are the command line arguments for FASM". this is all i really need to know(for now), thanks!!
Post 13 Sep 2010, 00:46
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
Just the file name is all you'll really need. There's also -m and -p for memory and pass limits but I doubt you'll need that. You could use the DLL version of Fasm. I'll come back w/ a link to Fasm DLL.

EDIT: Here it is: http://board.flatassembler.net/topic.php?t=6239 This really should be on the dl page, IMO.
Post 13 Sep 2010, 01:07
View user's profile Send private message Reply with quote
ishkabible



Joined: 13 Sep 2010
Posts: 54
ishkabible
thanks it works perfectly!! i'm having some trouble right now with getting the output from the program using _popen, would the DLL version have a better more direct way of getting the output (error codes from FASM, the nice message that say you did everything right by stating how many passes it took and how much memory it used, ect...)? i just started using Qt Creator and that was part of what made me think to do this. im not clear on how to add linker options with it yet(if there is a way) so i'm probably not going to use the DLL version. if i deside to use another IDE that i am more comfortable with (very possible as Qt Creator is a bit Heavy for my tastes) then i will look in to it more, any way thanks for the help
Post 13 Sep 2010, 03:52
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
There is also "wrapper" utility called "FA", which allows passing more command line options.
Post 13 Sep 2010, 10:18
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
ishkabible



Joined: 13 Sep 2010
Posts: 54
ishkabible
i was able to get it working, the issue arose from the fact that FASM output errors to stderr and everthing else to stdout and i was only getting stdout, i was able to redirect stderr to stdout so that everything went into on stream, it now works quite well, thanks for the help Smile
Post 14 Sep 2010, 00:33
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 GitHub, YouTube, Twitter.

Website powered by rwasa.