-sh error

Hi

A simple question. I have compiled a simple program ( empty C main ).
My comiler is arm-none-linux-gnueabi-g++.exe

I have transfert the result to the beagleboard. When I execute this
program I obtain this error

-sh ./a.out permission denied

It is probable a simple linux error.

Thank you

Dear Geoffroy,

A simple question. I have compiled a simple program ( empty C main ).
My comiler is arm-none-linux-gnueabi-g++.exe

I have transfert the result to the beagleboard. When I execute this
program I obtain this error

-sh ./a.out permission denied

What does that hyphen do there?

It is probable a simple linux error.

That is why your problem is off-topic. Please use a different list next
time when you have such a problem not having to do with the BeagleBoard.
You should always verify such things on a different system, i. e. not
the BeagleBoard. You can install a distribution in a virtual machine for
example.

Anyways, what are the permissions of `a.out`? Please send the output of
the following command.

$ ls -la a.out # Without the »$« at the beginning.

Thanks,

Paul