flat assembler
Message board for the users of flat assembler.
Index
> Linux > How to execute fasm programs? |
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
|
|||
01 Mar 2016, 10:41 |
|
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. |
|||
02 Mar 2016, 00:55 |
|
Trinitek 02 Mar 2016, 03:31
Code: chmod +x yourBinaryFile |
|||
02 Mar 2016, 03:31 |
|
kerr 02 Mar 2016, 05:27
Trinitek wrote:
Oh! NO..... is cannot compile program i tried. _________________ I hope we will be good friends. |
|||
02 Mar 2016, 05:27 |
|
alkap 02 Mar 2016, 05:31
How do you compile the program then?
|
|||
02 Mar 2016, 05:31 |
|
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. |
|||
02 Mar 2016, 08:37 |
|
system error 02 Mar 2016, 09:15
Code: ./fasm test.asm |
|||
02 Mar 2016, 09:15 |
|
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'. |
|||
02 Mar 2016, 12:33 |
|
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. |
|||
03 Mar 2016, 02:03 |
|
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. |
|||
03 Mar 2016, 02:22 |
|
alkap 03 Mar 2016, 06:16
Is your Linux system 32, or 64 bit?
Code:
uname -m
|
|||
03 Mar 2016, 06:16 |
|
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. |
|||
03 Mar 2016, 08:44 |
|
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.
|
|||
03 Mar 2016, 09:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.