flat assembler
Message board for the users of flat assembler.
Index
> Linux > fasm2 format error |
| Author |
|
|
Tomasz Grysztar 23 Nov 2025, 08:24
Use fasm2 instead of fasmg.x64. It runs the latter with the necessary headers set up.
|
|||
|
|
Chris Leslie 23 Nov 2025, 08:43
./fasm2 hello.asm gives me:
/usr/bin/env: ‘bash\r’: No such file or directory /usr/bin/env: use -[v]S to pass options in shebang lines |
|||
|
|
Tomasz Grysztar 23 Nov 2025, 08:55
Please re-download the package. The error you get is caused by incorrect line endings in the fasm2 file ("\r\n" instead of "\n") and I briefly had it broken.
|
|||
|
|
Chris Leslie 23 Nov 2025, 21:37
Ah!, tricky. I instead patched the fasm2 file and it now works. Is that the only place with \r's?
|
|||
|
|
Tomasz Grysztar 23 Nov 2025, 21:44
It's the only place that matters. The assembly source files can have any line breaks, even mixed, and fasm is still going to process them correctly.
|
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.