Running .exe file on beagle board

Hi,
           We had a MATLAB program on medical image registration, and
were successful in converting it to .exe file, Now our challenge is to
run the .exe file on beagle board, and display the used medical images
on a Philips HDTV. We successfully played video of harry.yuv ( A
tennis game short video) on the HDTV… and now we have to display the
images used in our program.
          So I humbly request you to help me, If u were successful in
implementing such projects I plead you to guide me…

hi. the .exe format files only are used to window system, aren't they?

thanks

Hi,
Yup .exe files run only on windows platform, We have to convert that to ARM compatible programm thats supported by Beagle Board using some cross compilers… We dont know of the procedure and cross compilers…

A cross-compiler isn’t going to help as the Windows .EXE file will no doubt have Windows DLL and Win32 API dependencies. A cross-compiler takes source code and produces binary files (like .EXE files) for a different platform than the one being used to compile. A typical example is using your Intel architecture Desktop PC to compile code for the ARM architecture BeagleBoard. (The reverse is obviously possible - but that would just be weird!)

There are other projects like QEMU and WINE - but these almost certainly aren’t going to be easy and probably won’t work anyway. (e.g. WINE emulates the Windows APIs and common DLLs, but it still needs to be run on an AMD/Intel PC).

Your best bet would be to go back to the MATLAB code and covert it into C, C++ or Java and then compile that code for ARM either on the BeagleBoard itself or using a cross-compiling toolchain like CodeSourcery. A quick google search for “matlab to C++” shows that such a concept exists…

I think reverse engineering the original .exe will not yield results
in a short time. But, as I can recall can Matlab work with a compiler
and mex binaries. I am not really well into the subject, but it could
be worth a try. You just have to try to crosscompile the matlab
program.

Another option could be porting it to Octave. Octave is compatible
with matlab (at least with minor modifications) and runs natively on
the beagleboard.

Hope this helps,

Kind regards, Eelco

eelcor <eelco.rouw@gmail.com> writes:

I think reverse engineering the original .exe will not yield results
in a short time. But, as I can recall can Matlab work with a compiler
and mex binaries. I am not really well into the subject, but it could
be worth a try. You just have to try to crosscompile the matlab
program.

Another option could be porting it to Octave. Octave is compatible
with matlab (at least with minor modifications) and runs natively on
the beagleboard.

It is worth pointing out that both Matlab and Octave make heavy use of
floating-point, which is not one the Beagle's stronger points.