flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
alkap
How do you run the executable?
What's the output of the command lines below? Code:
file your_executable
ls -l your_executable
|
|||
![]() |
|
kerr
alkap wrote: How do you run the executable? is command execute fasm compile program .show cannot execute binary file! and all fasm compile program don't execute. _________________ I hope we will be good friends. |
|||
![]() |
|
Trinitek
Code: chmod +x yourBinaryFile |
|||
![]() |
|
kerr
Trinitek wrote:
Oh! NO..... is cannot compile program i tried. _________________ I hope we will be good friends. |
|||
![]() |
|
alkap
How do you compile the program then?
|
|||
![]() |
|
kerr
alkap wrote: How do you compile the program then? fasm test.asm flat assembler version 1.71.39 (16384 kilobytes memory) 3 passes, 159 bytes. -bash: ./test: can not execute binary file: executable file format error _________________ I hope we will be good friends. |
|||
![]() |
|
system error
Code: ./fasm test.asm |
|||
![]() |
|
alkap
Quote:
Bash is telling you there that you're attempting to run an executable which is not in ELF format. The problem is in your 'test.asm' format directive. You may verify this by running: Code: file test Make sure your 'format' directive says 'format ELF'. |
|||
![]() |
|
kerr
system error wrote:
Oh ,you speak is not right! there is should system error! _________________ I hope we will be good friends. |
|||
![]() |
|
kerr
alkap wrote:
Code is Right ,is Fasm Compile Program Not in command run. Programs written before Now not run.Show can not execute binary file: executable file format error. Quote:
Quote:
_________________ I hope we will be good friends. |
|||
![]() |
|
alkap
Is your Linux system 32, or 64 bit?
Code:
uname -m
|
|||
![]() |
|
kerr
alkap wrote: Is your Linux system 32, or 64 bit? is 32bit _________________ I hope we will be good friends. |
|||
![]() |
|
alkap
If your 'test.asm' is not too big, perhaps you could post it here, so we could better help you with the trouble you're experiencing.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.