flat assembler
Message board for the users of flat assembler.
Index
> Linux > how to run fasm |
Author |
|
revolution 24 Dec 2007, 14:28
I think you need to mark the file attributes as executable.
|
|||
24 Dec 2007, 14:28 |
|
Octavio 24 Dec 2007, 14:36
revolution wrote: I think you need to mark the file attributes as executable. how? |
|||
24 Dec 2007, 14:36 |
|
revolution 24 Dec 2007, 14:39
Here is my favourite link with lots of information about how to do things like "setting file attributes in linux".
|
|||
24 Dec 2007, 14:39 |
|
andyz74 24 Dec 2007, 15:01
I don't really understand the spanish error message, but I Think you have to tell your Linux, that the prog isn't in the path, but right in the active folder.
So ./fasm should do it, no? |
|||
24 Dec 2007, 15:01 |
|
Octavio 24 Dec 2007, 15:19
andyz74 wrote: I don't really understand the spanish error message, but I Think you have to tell your Linux, that the prog isn't in the path, but right in the active folder. Thanks,yes this was the problem, how can i set the path,is there some equivalent to the DOS 'autoexec.bat'? |
|||
24 Dec 2007, 15:19 |
|
andyz74 24 Dec 2007, 15:29
Octavio wrote:
Theoretically, there should be a possibility, to "extend" the path on other locations, so there will be searched for executables, but a) this is knowledge, which i don't have, as i am newbe to. b) it is not the intension of Linux, to extend it's path to others. Normally ALL executables are searched in /bin /sbin /usr/bin /usr/sbin or whatever, and thats the sense of Linux: Everything has its place, so I think the best solution is to live with this ./fasm Maybe you can copy the fasm executable to /usr/bin but I truely don't know much about all this... |
|||
24 Dec 2007, 15:29 |
|
LocoDelAssembly 24 Dec 2007, 17:06
Quote:
That is exactly what I did on Ubuntu, to vbe more precise I did "sudo cp fasm /usr/bin" (and typed the password when prompted to do it). |
|||
24 Dec 2007, 17:06 |
|
nocona 25 Dec 2007, 06:41
to see list of path where the shell will looks for programs, type
#echo $PATH to extend it, type #export PATH="$PATH:<your_fasm_path" but usually it is best to put it in /usr/local/bin and add it to PATH variable if it was not in. |
|||
25 Dec 2007, 06:41 |
|
TmX 27 Dec 2007, 18:23
Octavio wrote:
1. Create a file called ".bash_profile" in your HOME. 2. Add this to that file : export PATH=$PATH:/home/octavio/fasm |
|||
27 Dec 2007, 18:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.