flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
rhyno_dagreat 26 Oct 2007, 02:56
Easy, take the win32a.inc file and any files associated with it and move it into the same folder as beer.asm and it should compile.
|
|||
![]() |
|
leopard 26 Oct 2007, 02:59
wow, well, but if I have to such hand work task every time I compile an asm file ?
|
|||
![]() |
|
vid 26 Oct 2007, 03:11
you have to set environment variable "INCLUDE" to FASM includes, not variable "PATH".
|
|||
![]() |
|
rhyno_dagreat 26 Oct 2007, 03:12
Or, you could do it VID's way. I just recall that's how I did it.
![]() |
|||
![]() |
|
leopard 26 Oct 2007, 03:17
thank you guys, but, I'm totally a newbie in fasm, can you tell me bit more detail how to do that ?
thanx |
|||
![]() |
|
LocoDelAssembly 26 Oct 2007, 03:28
TFM wrote: The example source provided with this version require you have environment |
|||
![]() |
|
leopard 26 Oct 2007, 03:59
thank you, it works!
It works only when I click the fasmw.exe in the file manager, but if I run the program by type 'fasmw' from the command prompt, it won't work ?! Just can't tell why ? well, it works at least ^^; |
|||
![]() |
|
vid 26 Oct 2007, 04:36
after you change env. variables, try to restart all apps.
For example if you start CMD.exe, then change env. variables, and then start FASMW from still running CMD, it will still have old env. variables. This is because every process inherits env variables from it's parent process. |
|||
![]() |
|
leopard 26 Oct 2007, 04:46
Yes, I have already restarted the cmd & the fasmw, the error is still there, should I have to edit some env. variables of the cmd or xp ?
maybe this is not important for programming. |
|||
![]() |
|
vid 26 Oct 2007, 04:50
do you start FASMW from directory where FASMW.INI resides?
don't do this: Code: > c:\fasmw\fasmw.exe instead do: Code: > cd c:\fasmw\ > fasmw.exe this could be the problem. |
|||
![]() |
|
leopard 26 Oct 2007, 04:55
yes, I start the fasmw from:
c:\Documents and Settings\vm> (the very first place when I start cmd.exe) the vm is my username, and the cmd env. is the system wide: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\programmings\fasm\wbin\ and FASMW.INI & fasmw.exe are in the same folder as default. run fasmw in the installtion folder, it compiles correctly |
|||
![]() |
|
LocoDelAssembly 26 Oct 2007, 12:01
Check if in "the very first place" you have a file named "FASMW.INI", if it is the case then the problem is not executing FASMW.EXE in its own directory and hence the IDE doesn't see any INI file and thus it creates a default file at the current directory.
|
|||
![]() |
|
tangent 21 Nov 2007, 06:58
i'd suggest not using fasmw, seeing as how avg picks it up with Obfustat.ZRC
test.bat: Code: cd c:\devel\fasm\include ..\fasm ..\test.asm pause |
|||
![]() |
|
LocoDelAssembly 21 Nov 2007, 13:53
Quote:
Yes, AVG is an IDIOT, but can't be instructed to ignore an let you use FASMW anyway? If not then I change the suggestion to not use AVG instead. |
|||
![]() |
|
vid 21 Nov 2007, 14:54
yeah, use NOD. Slovaks can make better AVs than Czechs
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.