Grum said:
Hello all,
I was just wandering how the technical minded folk here generally start going about a port from X86 to ARM, if you have the source code.
I know this is a very general question so at best I'm only expecting very general answers.
For some software it will generally only require a recompile, others, changing of assembly code, or, writing / modding your own libraries.
The idea is, check and see if all of the code you're working with is in pure C (no assembly) and if the libraries it depends on are also as such. You can replace any necessary code with either straight C or preferably, ARM assembly.
You also have to take into account applications that use specific display routines (Qtopia vs X for instance) and see what the target device supports for output.
After that, you check your development environment, see if you've got all the stuff for cross-compiling. Make sure you can compile ARM, have all of the devel packages for the dependencies and give the compiler a whirl.
Copy it over to your target and try to run it. Don't count on it doing anything the first try, but as long as you can compile the code and get it to run (if only to return an error) you're already off to a great start.