Linux ARM not recognized as executable

Discuss any general programming issues here
Post Reply
Posts: 112
Joined: Mon Nov 01, 2010 11:56 pm

Linux ARM not recognized as executable

Post by p-OS » Sat Apr 20, 2019 1:06 am

Now, as Hollywood 8 is said to work on Linux without X-Server now, i retried this.

I have this simple program:

Code: Select all

@DISPLAY {hidden=True}
ConsolePrint("Hallo Welt!")
I compiled for target Linux(arm).
I copied to the HDD connected to my Router (ASUS AC88U), running an Linux based OS.
It has a Cortex 9 CPU, i.e. 32bit armv7

I connect via SSH using a root account.

I cd to the Directory, the exe now resides.
I set protection bits to executable.
ls command gives me the information, that the file exists and has permission drwxrwxrwx.
When I want to start it, however , it is not found !!

This ist the output:

Code: Select all

myuser@RT-AC88U:/tmp/mnt/TB15/Austausch# l hallo.exe
-rwxrwxrwx    1 myuser     root       2676410 Apr 20 01:00 hallo.exe*
myuser@RT-AC88U:/tmp/mnt/TB15/Austausch# hallo.exe
-sh: hallo.exe: not found

Posts: 244
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: Linux ARM not recognized as executable

Post by SamuraiCrow » Sat Apr 20, 2019 2:38 am

Try starting it as ./hallo.exe with the ./ in front.

Post Reply