[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pgubook-readers] Question about chapter 4
From: |
Alexander Kapshuk |
Subject: |
Re: [Pgubook-readers] Question about chapter 4 |
Date: |
Sat, 26 Jan 2019 16:30:43 +0200 |
On Sat, Jan 26, 2019 at 4:19 PM Arnkæll <address@hidden> wrote:
>
> hi i just have a quick question, ill attach my source incase i've mistyped
> anyway i'm doing the book's exercises in a vm of ubuntu mate, i was having no
> issues until trying to run the first program in chapter 4, it compiles and
> links just fine but when i try to run it i get this error: 'Cannot execute
> binary file: Exec format error'
> attached is my source, i believe that the problem may be that i am running in
> a VM but if so im not sure what to do, any help would be appreciated.
> regards,
> Johnathan
>
>
>
> _______________________________________________
> Pgubook-readers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/pgubook-readers
Can you please post the commands you use to assemble and link your code?
What's the output of:
uname -a
file /path/to/power-binary