flat assembler
Message board for the users of flat assembler.
Index
> Linux > constants definition through command line patch for 1.67.21 |
Author |
|
arafel 28 Feb 2007, 12:35
attached file is a fasm 1.67.21 patch (for linux) which adds support for symbolic constants definition through command line. e.g. "fasm -dSYMBOL:=1234 -dSYMBOL2:=4321 test.asm"
i lacked this feature recently when working with makefiles... maybe someone will find it useful as well. put fasm.diff in a fresh fasm directory and do $ patch -p 1 -i fasm.diff P.S. wasn't thoroughly tested, but worked for me..
|
|||||||||||
28 Feb 2007, 12:35 |
|
vid 28 Feb 2007, 13:00
arafael: very nice, just one thing
:= ?!?!?!?? why not just =? |
|||
28 Feb 2007, 13:00 |
|
vid 28 Feb 2007, 13:32
oh, that
also i think you should stick to more standard /D instead of /d |
|||
28 Feb 2007, 13:32 |
|
realcr 18 May 2007, 21:54
Hey arafel.
It is a really cool option. however I remember reading somewhere about the no command line stuff in fasm. I really liked that principle as now people can never add strange command lines and parameters. [What you put in the source is what you get]. As useful as this option is , I rather keep the no command line principle , which is one of the things that makes fasm so special. Just my opinion. realcr. |
|||
18 May 2007, 21:54 |
|
arafel 19 May 2007, 13:13
Hi realcr,
For an assembler type application - minimal or no platform compatibility, massive projects are rarity, etc. Where there is almost no need in adjusting lots of compilation parameters 'no command line' approach probably has some benefits. Actually quite a few in my opinion. For anything else though, I have strong suspicion it will add more problems than improvements Anyways, I agree fasm should stay as it is. |
|||
19 May 2007, 13:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.