flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
revolution 16 Dec 2010, 13:15
sleepsleep wrote: i wrote something lately. |
|||
![]() |
|
vid 16 Dec 2010, 13:45
Unfortunatelly...
|
|||
![]() |
|
sleepsleep 16 Dec 2010, 17:23
hahaha. I think no harm with fasminc right?
Just dont want to be same like c.. |
|||
![]() |
|
sleepsleep 16 Dec 2010, 23:46
revo, huhuhu, what doesn't work?
|
|||
![]() |
|
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.
|
|||
![]() |
|
sleepsleep 17 Dec 2010, 00:08
u mean fasm assembler or the provided fasm editor?
I am kinda confuse... |
|||
![]() |
|
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. |
|||
![]() |
|
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 |
|||
![]() |
|
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. |
|||
![]() |
|
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? |
|||
![]() |
|
Tyler 17 Dec 2010, 06:58
Couldn't you just use fix to define fasminc as include, or is include processed b4 fix?
|
|||
![]() |
|
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... ![]() |
|||
![]() |
|
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? |
|||
![]() |
|
SFeLi 17 Dec 2010, 09:54
JohnFound, it is documented in 1.1.1 System requirements.
|
|||
![]() |
|
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 |
|||
![]() |
|
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. |
|||
![]() |
|
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. |
|||
![]() |
|
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
![]() ![]() regards! |
|||
![]() |
|
vid 17 Dec 2010, 14:17
IIRC, FASMW takes value for INCLUDE from some INI file.
|
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.