flat assembler
Message board for the users of flat assembler.
Index
> Main > flat assembler 1.54 Goto page 1, 2 Next |
Author |
|
Tomasz Grysztar 30 Jul 2004, 16:10
The official release of fasm 1.54 is now available in the Download section.
The biggest changes are in the Win32 GUI version - the interface contains rewritten AsmEdit control, support for CHM help files, updated set of macros for Win32 programming and some other small improvements. All versions are now able to automatically generate the name for output file, so the "output" parameter in the command line versions is no longer obligatory. Last edited by Tomasz Grysztar on 27 Aug 2004, 21:10; edited 1 time in total |
|||
30 Jul 2004, 16:10 |
|
asmdemon 30 Jul 2004, 22:21
awesome.awesome.awesome. I Like.
|
|||
30 Jul 2004, 22:21 |
|
scientica 31 Jul 2004, 11:56
I must ask, shouldn't you fix the perimissions for the output on the linux version?
when diffing I see this: (among else) (diffing 1.44 against vanilla sources + permission fix, I'll diff for the libc version too later) Code: --snip-- --- fasm.old/source/Linux/system.inc 2004-07-31 13:44:22.000000000 +0200 +++ fasm/source/Linux/system.inc 2004-07-30 10:54:00.000000000 +0200 @@ -17,15 +17,12 @@ S_ISUID = 4000o S_ISGID = 2000o S_ISVTX = 1000o -S_IRWXU = 0700o S_IRUSR = 0400o S_IWUSR = 0200o S_IXUSR = 0100o -S_IRWXG = 0070o S_IRGRP = 0040o S_IWGRP = 0020o S_IXGRP = 0010o -S_IRWXO = 0007o S_IROTH = 0004o S_IWOTH = 0002o S_IXOTH = 0001o --snip-- @@ -219,7 +214,7 @@ mov eax,5 mov ebx,buffer mov ecx,O_CREAT+O_TRUNC+O_WRONLY - mov edx,S_IRWXU or S_IRWXG or (S_IROTH or S_IXOTH) + mov edx,S_IRUSR+S_IWUSR+S_IRGRP int 0x80 pop ebp edi esi test eax,eax --snip-- btw, tsunghsien_lin, please put the code in a [ code ] block [ /code ] (without the spaces between [ and ] ). |
|||
31 Jul 2004, 11:56 |
|
Tomasz Grysztar 31 Jul 2004, 12:38
These permission are as were intended.
|
|||
31 Jul 2004, 12:38 |
|
scientica 31 Jul 2004, 12:42
ok, why do you want the output to have -rw-r------? it should (IMO) be (if the umaks so allows) -rwxrwx-r-x. It seems gcc does set x for at least the owner - I think fasm should too - else I'll ahve to chmod after compile :/ (or patch the sources )
|
|||
31 Jul 2004, 12:42 |
|
Tomasz Grysztar 31 Jul 2004, 12:45
The "chmod after compile" is exactly what was my intention. fasm sets only the minimum, "safe" permissions.
|
|||
31 Jul 2004, 12:45 |
|
fasm9 31 Jul 2004, 12:56
i thought it was because users seldom see the FASM source code.
|
|||
31 Jul 2004, 12:56 |
|
crc 31 Jul 2004, 13:17
Quote: The "chmod after compile" is exactly what was my intention. fasm sets only the minimum, "safe" permissions. I don't see the problem with setting rwx for the current user; if I just ran a command to assemble a program into runnable object code, I want to be able to run it without more steps |
|||
31 Jul 2004, 13:17 |
|
scientica 31 Jul 2004, 13:31
ok, I see your point. But most other compilers are "unfase" in this point of view. I don't really see the danger in setting to my suggested permissions, as:
1) to excute a file you must type "./file", unless a) it's in any of the dirs in $PATH b) you got "." in $PATH - neither a or b are likley to be done by the average coder (unless (s)he's not practising safe-hex) 2) Usually you build you sources in some dir that's only avalible to you(owner) and those you want to have access (group), and when you release the files, you want the world (others) to beavle to read and exec it. Having o=rx (other = r-x) is safe, as long as the dir you keep the files in don't have o=x (other = --x ) - as the ousiders can't enter the dir. |
|||
31 Jul 2004, 13:31 |
|
scientica 31 Jul 2004, 13:41
btw here are three patches:
http://w1.364.telia.com/~u36404088/fasm/ fasm-patch-1.53-sci0-to-1.54-sci0.patch.bz2 - probably useless to you fasm-patch-1.54-to-1.5-sci04.patch.bz2 - patch for the vanilla 1.54 to set the permissions -rwxrwxr-x on output fasm-vanilla-patch-1.53-to-1.54.patch.bz2 - patch the vanilla 1.53 to the vanilla 1.54. (no permission fix here) apply with "bzcat file | patch -p1" when in the fasm dir. |
|||
31 Jul 2004, 13:41 |
|
Tomasz Grysztar 31 Jul 2004, 14:17
It's only one of the fasm's output formats that can be executed directly in Linux, and even this formatting can be used to make programs for other systems (like BSD or BeOS). So I thought it's better to leave it to the programmer to set up the permissions (when he knows what he is doing) - fasm is not able to guess it.
|
|||
31 Jul 2004, 14:17 |
|
scientica 31 Jul 2004, 14:25
well, it doesn't harm to have eg PEs runnable, and really how often does one compile PEsunderlinux? But ok, I'll keep bugging the forum with patch(es) to set the permission on every major release (if it's ok with you)
|
|||
31 Jul 2004, 14:25 |
|
Tomasz Grysztar 31 Jul 2004, 14:26
Of course it's OK.
|
|||
31 Jul 2004, 14:26 |
|
Tomasz Grysztar 31 Jul 2004, 14:28
What do you think about developing the fasm IDE for Linux? I'm already planning making IDEs for DOS and maybe Menuet - I'm trying to make my editor core independent from the interface in the same way as fasm's core, you can see the progress of it in the current fasmw release.
|
|||
31 Jul 2004, 14:28 |
|
crc 31 Jul 2004, 14:37
I'd love to have the FASM IDE for Linux! If you could do it as a console app, that'd be great, but I would also use an X11 version.
|
|||
31 Jul 2004, 14:37 |
|
scientica 31 Jul 2004, 14:40
good idea, maybe something similar to the source/[os] dirs (maybe (source/[os]/ide ), sort of abstracting gui calls in some similar way to the system.inc files.
|
|||
31 Jul 2004, 14:40 |
|
decard 31 Jul 2004, 17:49
tip: as new FASMW version can handle CHM help files, you can set freshguide.chm file from fresh package as your help file. This will give you context help on all FASM directives and all supported instructions.
|
|||
31 Jul 2004, 17:49 |
|
vid 31 Jul 2004, 18:36
why don't people use VIM under linux?
I use it under Windoze and it works, so under Linux it should be native (my opnion of course, i never worked under linux). I think tings like parser-stage skipping not-taken "if" blocks would be better, but maybe linux users would like FASM native editor. Should it be copy of AsmEdit or something new? |
|||
31 Jul 2004, 18:36 |
|
Tomasz Grysztar 31 Jul 2004, 19:45
Yes, I suggested this because I'm making Assembly Editor core system-independent so it could (hopefully) be used as a base for fasm IDEs with "common look and feel" for different systems.
|
|||
31 Jul 2004, 19:45 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.