On Sat, Jan 26, 2019 at 4:19 PM Arnkæll <[email protected]> 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
> [email protected]
> 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

_______________________________________________
Pgubook-readers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pgubook-readers

Reply via email to