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