Re: Compiling code written for x86-CPUs
Posted: Mon Apr 30, 2012 6:39 pm
Hi!
I wonder If code which is initially written for x86-CPUs simply can be compiled on the Pi and the program will run. Or does the code need to be optimised for the ARM architecture?
I''m quite experienced in programming C++/C# on Windows and Linux machines, but never got in touch with ARM-CPUs (except my cell phone). What do I have to mind when programming for the Pi?
I also want to compile and run "lirc"/"xte" (ir remote control/simulation of keyboard-inputs), "CWiid" (wii controller via bluetooth), "Snes9x", "Mono(-develop)" and "vim" (if it's not included). Will it work "out of the box" or do I have to make some changes on the code?
I wonder If code which is initially written for x86-CPUs simply can be compiled on the Pi and the program will run. Or does the code need to be optimised for the ARM architecture?
I''m quite experienced in programming C++/C# on Windows and Linux machines, but never got in touch with ARM-CPUs (except my cell phone). What do I have to mind when programming for the Pi?
I also want to compile and run "lirc"/"xte" (ir remote control/simulation of keyboard-inputs), "CWiid" (wii controller via bluetooth), "Snes9x", "Mono(-develop)" and "vim" (if it's not included). Will it work "out of the box" or do I have to make some changes on the code?