flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > %fasminc% is deprecated Goto page 1, 2 Next |
Author |
|
revolution 16 Dec 2010, 13:15
sleepsleep wrote: i wrote something lately. |
|||
16 Dec 2010, 13:15 |
|
vid 16 Dec 2010, 13:45
Unfortunatelly...
|
|||
16 Dec 2010, 13:45 |
|
sleepsleep 16 Dec 2010, 17:23
hahaha. I think no harm with fasminc right?
Just dont want to be same like c.. |
|||
16 Dec 2010, 17:23 |
|
sleepsleep 16 Dec 2010, 23:46
revo, huhuhu, what doesn't work?
|
|||
16 Dec 2010, 23:46 |
|
revolution 16 Dec 2010, 23:54
fasm won't be able to find the includes. fasm only looks for includes from the "INCLUDE" environment variable. "FASMINC" is wrong because no program is looking there.
|
|||
16 Dec 2010, 23:54 |
|
sleepsleep 17 Dec 2010, 00:08
u mean fasm assembler or the provided fasm editor?
I am kinda confuse... |
|||
17 Dec 2010, 00:08 |
|
revolution 17 Dec 2010, 00:21
This only affects the assembler. But the editor (FASMW) uses the assembler also.
If you don't believe me, then just try it. Remove all the fasm paths from your "INCLUDE" variable and use only "FASMINC" and watch as the assembler complains about not being able to find WIN32AX.INC. |
|||
17 Dec 2010, 00:21 |
|
sleepsleep 17 Dec 2010, 04:51
i don't have "INCLUDE" environment variables.
and i use only the defined "FASMINC", and it works.... and i really confuse right now,,, huhuuu |
|||
17 Dec 2010, 04:51 |
|
revolution 17 Dec 2010, 06:13
Perhaps all of your files are in the same folder. Put your asm file in a different folder and test.
Anyhow, look at "TABLES.INC" and you will see the name of the environment variable. |
|||
17 Dec 2010, 06:13 |
|
SFeLi 17 Dec 2010, 06:56
sleepsleep wrote: i don't have "INCLUDE" environment variables. You're using include "%fasminc%/win32a.inc". Fasm expands environment variables and that's why it works. Revolution is talking about include 'win32a.inc' case. Don't you think it is much simpler? |
|||
17 Dec 2010, 06:56 |
|
Tyler 17 Dec 2010, 06:58
Couldn't you just use fix to define fasminc as include, or is include processed b4 fix?
|
|||
17 Dec 2010, 06:58 |
|
JohnFound 17 Dec 2010, 08:40
Hm, it is strange to have "INCLUDE" environment variable hard coded in the source. I didn't noticed it till now...
It is not documented as well: Quote: The quoted path can contain environment variables enclosed within % Note1: The hard coded "%include%" does not concerns "file" directive. Note2: This topic turned to the "compiler internals" forum section... |
|||
17 Dec 2010, 08:40 |
|
revolution 17 Dec 2010, 09:30
Tyler wrote: Couldn't you just use fix to define fasminc as include, or is include processed b4 fix? |
|||
17 Dec 2010, 09:30 |
|
SFeLi 17 Dec 2010, 09:54
JohnFound, it is documented in 1.1.1 System requirements.
|
|||
17 Dec 2010, 09:54 |
|
JohnFound 17 Dec 2010, 10:50
SFeLi wrote: JohnFound, it is documented in 1.1.1 System requirements. No, it is not: http://flatassembler.net/docs.php?article=manual#1.1.1 |
|||
17 Dec 2010, 10:50 |
|
SFeLi 17 Dec 2010, 11:10
Hmm. I was talking about a PDF from Win32 package. Didn't know that there are differences in documentation.
FASM.pdf wrote: The example source provided with this version require you have environment variable INCLUDE set to the path of the include directory, which is the part of flat assembler package. |
|||
17 Dec 2010, 11:10 |
|
JohnFound 17 Dec 2010, 11:32
SFeLi wrote: Hmm. I was talking about a PDF from Win32 package. Didn't know that there are differences in documentation. Neither I. But, the text from 1.1.1 means (for me) simply that all examples use "%include%" environment variable in it's sources. This text tells nothing about the behaviour of "include" directive, that uses %include% as it's default directory, even if the variable %include% does not exists in the source. Anyway, we have to wait a little for some comment from Tomasz. |
|||
17 Dec 2010, 11:32 |
|
shoorick 17 Dec 2010, 13:57
in winasm studio i made %FASMINC% optionally autogenerated from path to fasm.exe. you can do the same in fasmw (or other IDE) to not spend much time on this question if you will refuse of FASMINC, anyway you will meet it all the time in various sources of other authors, so what you will prefer? to refuse of them? to edit all of them? or to be able to ignore this difference forever?
regards! |
|||
17 Dec 2010, 13:57 |
|
vid 17 Dec 2010, 14:17
IIRC, FASMW takes value for INCLUDE from some INI file.
|
|||
17 Dec 2010, 14:17 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.