flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Output file extension

Author
Thread Post new topic Reply to topic
cod3b453



Joined: 25 Aug 2004
Posts: 618
cod3b453 16 Oct 2006, 13:24
I was wondering if the "Format" directive could be extended so that we don't have to rename 'xxx.bin' manually after compile.

Very basic example:
Code:
;mycursor.asm
Format BIN '.cur' ;  ??? default '.bin'

file 'hand.cur'
    

Produces a copy of hand.cur in a file called 'mycursor.cur'. ???
Post 16 Oct 2006, 13:24
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20335
Location: In your JS exploiting you and your system
revolution 16 Oct 2006, 15:27
If you use the command line version of fasm then you can select whatever extension you want. For the GUI then maybe the author can add a dialogue box to select the extension. Some OS's don't use filename extensions so there would seem to be little sense in defining one in the source code.
Post 16 Oct 2006, 15:27
View user's profile Send private message Visit poster's website Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 618
cod3b453 18 Oct 2006, 20:06
ok I'll do it the command line way
Post 18 Oct 2006, 20:06
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 18 Oct 2006, 20:29
by the way, there was some heavy discussion on this some time ago, you can search. it resulted in making FASM quess extension depending on contents of file
Post 18 Oct 2006, 20:29
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 618
cod3b453 18 Oct 2006, 20:48
I can remember there was a discussion about it, but I've learnt a clever batch command now that makes it just as easy to use batch scripts and add a right click "Compile As..." option.
Post 18 Oct 2006, 20:48
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.