flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
alkap 01 Mar 2016, 10:41
How do you run the executable?
What's the output of the command lines below? Code:
file your_executable
ls -l your_executable
|
|||
![]() |
|
kerr 02 Mar 2016, 00:55
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 02 Mar 2016, 03:31
Code: chmod +x yourBinaryFile |
|||
![]() |
|
kerr 02 Mar 2016, 05:27
Trinitek wrote:
Oh! NO..... is cannot compile program i tried. _________________ I hope we will be good friends. |
|||
![]() |
|
alkap 02 Mar 2016, 05:31
How do you compile the program then?
|
|||
![]() |
|
kerr 02 Mar 2016, 08:37
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 02 Mar 2016, 09:15
Code: ./fasm test.asm |
|||
![]() |
|
alkap 02 Mar 2016, 12:33
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 03 Mar 2016, 02:03
system error wrote:
Oh ,you speak is not right! there is should system error! _________________ I hope we will be good friends. |
|||
![]() |
|
kerr 03 Mar 2016, 02:22
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 03 Mar 2016, 06:16
Is your Linux system 32, or 64 bit?
Code:
uname -m
|
|||
![]() |
|
kerr 03 Mar 2016, 08:44
alkap wrote: Is your Linux system 32, or 64 bit? is 32bit _________________ I hope we will be good friends. |
|||
![]() |
|
alkap 03 Mar 2016, 09:07
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.