dixeflatline
Posts: 7
Joined: Fri Jun 01, 2012 6:03 pm

Launching .x86?

Fri Aug 17, 2012 11:30 pm

I have a app i use on my other linux boxes that I can launch ./program.x86 and when i attempt to do the same on Debian RasPI i get an error that says:

bash: ./program.x86: cannot execute binary file

Is there any way around this? The program is very light weight (103 kb)

Thank you,
Dixe

felix123
Posts: 153
Joined: Tue May 15, 2012 6:06 am

Re: Launching .x86?

Sat Aug 18, 2012 12:30 am

There's no x86 chip on the Raspberry Pi. Try running the ARM version of your program instead.

dixeflatline
Posts: 7
Joined: Fri Jun 01, 2012 6:03 pm

Re: Launching .x86?

Sat Aug 18, 2012 2:12 am

There is no ARM version. Is there a way to run this app another way?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27412
Joined: Sat Jul 30, 2011 7:41 pm

Re: Launching .x86?

Sat Aug 18, 2012 3:28 am

qemu can emulate the X86 I think - ut you'll need to investigate further, I've never tried it.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27412
Joined: Sat Jul 30, 2011 7:41 pm

Re: Launching .x86?

Sat Aug 18, 2012 3:41 am

Actually, DosBOX might work depending on the age of the program you want to run.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

dixeflatline
Posts: 7
Joined: Fri Jun 01, 2012 6:03 pm

Re: Launching .x86?

Sat Aug 18, 2012 6:18 pm

i shall give both a try. thank you for your input.

gloriad
Posts: 1
Joined: Tue Oct 16, 2012 4:01 pm

Re: Launching .x86?

Tue Oct 16, 2012 4:05 pm

dixeflatline ,

Any luck with an x.86 on pi??
I am also trying to do the same.

ghans
Posts: 7883
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Launching .x86?

Tue Oct 16, 2012 5:34 pm

What is a x.86 ?
That is not a filetype, is it ?

Some pointers :
There are executables for DOS/ Windows . Those are 99% x86 executables. (ending in .exe or .com )
There are executables for Linux. They are often also only x86 executables.
(no ending ! Linux recognizes executables by their executable flag and other details )

If you have sources , you can recompile your Linux app for the Pi.

You cannot run a x86 app directly on the Pi. And no windows and DOS apps AT ALL.
WINE doesn't work , for example.

If you have too much free time :
Investigate qemu-user and using WINE with it. Dietmar has done a proof-of-concept. ( slow ?)
Else install Windows/DOS/FreeDOS on qemu.(Extremely slow) Or use Dosbox. (slow)


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Jekubwarrior
Posts: 9
Joined: Wed Oct 17, 2012 8:55 pm

Re: Launching .x86?

Wed Oct 17, 2012 9:13 pm

Would the pi run iTunes ??

ghans
Posts: 7883
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Launching .x86?

Thu Oct 18, 2012 11:40 am

No. But i suppsose there are alternatives.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

GeorgeXL
Posts: 6
Joined: Sun May 20, 2012 1:15 pm

Re: Launching .x86?

Sat Oct 20, 2012 6:47 pm

gloriad wrote:dixeflatline ,

Any luck with an x.86 on pi??
I am also trying to do the same.
Are you talking about CCcam ?

Return to “General discussion”