flat assembler
Message board for the users of flat assembler.

Index > IDE Development > .Exe output name in FASMW

Author
Thread Post new topic Reply to topic
Teehee



Joined: 05 Aug 2009
Posts: 570
Location: Brazil
Teehee 30 Dec 2009, 15:11
Is possible to set .exe output name in the .asm file?

Because if I have a file named main.asm the compiler puts main.exe automatically. So i wanna set in main.asm to generate a name.exe.

EDIT by DOS386 : enhanced subject with "in FASMW" and moved from Main to IDE Develoment

_________________
Sorry if bad english.
Post 30 Dec 2009, 15:11
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20212
Location: In your JS exploiting you and your system
revolution 30 Dec 2009, 15:37
In your command line prompt: fasm main.asm name.exe
Post 30 Dec 2009, 15:37
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 570
Location: Brazil
Teehee 30 Dec 2009, 15:39
but i'm using FASMW.
Post 30 Dec 2009, 15:39
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20212
Location: In your JS exploiting you and your system
revolution 30 Dec 2009, 15:50
Teehee wrote:
Is possible to set .exe output name in the .asm file?
Teehee wrote:
but i'm using FASMW.
Then the answer is no.
Post 30 Dec 2009, 15:50
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 570
Location: Brazil
Teehee 30 Dec 2009, 16:47
Sad
Thanks Smile
Post 30 Dec 2009, 16:47
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel 30 Dec 2009, 19:49
Idea Unless you modify fasmw (e.g. add a dialog with an editbox), which is one of the advantages of open-source...
Post 30 Dec 2009, 19:49
View user's profile Send private message Reply with quote
shmel



Joined: 14 Feb 2010
Posts: 5
Location: Russia Federation, Tatarstan, Kazan
shmel 04 Mar 2010, 15:44
Code:
format binary as 'ext'    

or
Code:
format pe gui 4.0 as 'exe'    
Post 04 Mar 2010, 15:44
View user's profile Send private message ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20212
Location: In your JS exploiting you and your system
revolution 04 Mar 2010, 15:52
shmel wrote:
Code:
format binary as 'ext'    

or
Code:
format pe gui 4.0 as 'exe'    
That only sets the extension, not the name.
Post 04 Mar 2010, 15:52
View user's profile Send private message Visit poster's website Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 09 Nov 2010, 10:57
Working on a tiny multilingual project i was in a lack of such a functionality.
Code:
LNG equ BY
format binary named 'project-' + `BY + '.exe' 
...
    
Post 09 Nov 2010, 10:57
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20212
Location: In your JS exploiting you and your system
revolution 09 Nov 2010, 13:35
edemko wrote:
Working on a tiny multilingual project i was in a lack of such a functionality.
Code:
LNG equ BY
format binary named 'project-' + `BY + '.exe' 
...
    
Use the match luke.
Code:
LNG equ BY
match x,LNG {format binary as 'project-'#`x#'.exe'}    
Post 09 Nov 2010, 13:35
View user's profile Send private message Visit poster's website Reply with quote
Fanael



Joined: 03 Jul 2009
Posts: 168
Fanael 09 Nov 2010, 16:14
revolution wrote:
edemko wrote:
Working on a tiny multilingual project i was in a lack of such a functionality.
Code:
LNG equ BY
format binary named 'project-' + `BY + '.exe' 
...
    
Use the match luke.
Code:
LNG equ BY
match x,LNG {format binary as 'project-'#`x#'.exe'}    
revolution wrote:
That only sets the extension, not the name.
Razz
Post 09 Nov 2010, 16:14
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.