flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > -D switch again |
Author |
|
vid 03 Apr 2007, 22:06
simply put: SSSO principe is not so nice when you need to output more than one destination file
|
|||
03 Apr 2007, 22:06 |
|
f0dder 03 Apr 2007, 22:17
"but you can just use environment variables".
I have to agree, though -D is immensively useful. Producing debug/release builds, and a number of other things. The SSSO principle means you have to edit files or kludge around to achieve the same things as -D could do for you... |
|||
03 Apr 2007, 22:17 |
|
Tomasz Grysztar 04 Apr 2007, 07:24
vid wrote: simply put: SSSO principe is not so nice when you need to output more than one destination file Then you should need more than one source file, as the output is unequivocally determined by a single one. You may not like it, but it has its rules. "Dura lex, sed lex", as they say. |
|||
04 Apr 2007, 07:24 |
|
kandamun 11 Apr 2007, 08:57
Hi vid,
I would do it like this: include CONFIG.INC in you sources then in your build script do the equivalence of: Code: echo PARAM = 1 > CONFIG.INC fasm sources.asm ... |
|||
11 Apr 2007, 08:57 |
|
f0dder 11 Apr 2007, 09:02
kandamun: that's what's called a HACK
|
|||
11 Apr 2007, 09:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.