6

Is it possible to convert/recompile an already compiled x86 binary into an ARM binary?

I'm using a BeagleBoard with a command-line Ubuntu (Maverick) and want to run a Ventrilo server but the x86 executable they supply cannot be run on the hardware as far as I can tell (most likely due to differing architecture).

Unfortunately I don't have access to the source to allow me to recompile it natively.

If not, is there any other way I can get the binary to run (emulation for example)?

Mr Fox
  • 652

3 Answers3

6

You may want to switch to an alternative software available natively on your architecture, murmur and mumble come to mind.

murmur and mumble homepage

anddam
  • 434
4

Short version : if you don't have the source code then no.

Long version : you can use qemu (or kvm or virtualbox, etc) and use a minimal x86 emulated system to run the server.

OneOfOne
  • 946
1

I guess the answer is "maybe". Usually you can de-compile an executable file, if you know enough about it. If you decompile the code to a language that has an ARM compiler, and the libraries required to compile that binary to your ARM platform, than it should be possible.

For example: If your Ventrilo server can be decompiled into C source code, and this source code is ANSI Standard, you may have enough support with your ARM compiler to recompile the code.

I really don't know if you can do it legally, though, since you would be reverse-engineering a software that you are not the owner.

Machado
  • 145