As title.
Should I install any C++ complier in PDA?
Printable View
As title.
Should I install any C++ complier in PDA?
By "run" do you mean make? Like on the go "Hey I could put that in my program (Jim looks at his PDA and puts some code in a little program and hits run) HEY! it works!!!" Yes you would need a complier in the PDA. If you mean just putting C++ programs in the PDA, yes that would just work too, just compile them 1st, then put them on the PDA.
Warning: Some PDA cant do what you want to do, check to see if your PDA can even do this.
I suppose we could play the game of "guess which PDA" you have, along side the "guess which OS" your desktop machine is using.
So I'm guessing it's an HP-IPAQ, running Windows-CE then.
Normally, you run the development tools on your desktop machine, then copy the final program to the hand held.
http://www.microsoft.com/windowsmobi...s/default.mspx
You can use wxWidgets to create applications.
On this type of system, the compiler itself doesn't usually run on the PDA.Quote:
Should I install any C++ complier in PDA?
Usually, this is done on what's called a cross-compiler. The compiler runs on one machine (i.e. a PC), and the compiled code runs on a different machine (i.e. on your PDA).
This is the same procedure that's used to write firmware for an embedded system. The code in your mobile phone or DVD player wasn't written on the device. It was probably written on a PC, and debugged on a computer connected to the device.
This does require a compiler that's specific to your target platform, and your development system. (That's why people have asked "What PDA?")
With most "embedded" systems, you can't even get a compiler! You could get a compiler for the particular processor (if you know what it is) but there are usually unknown hardware details that would prevent you from using it. And, it might require some special hardware (and "insider" knowledge) just to make a connection between the computer and the device... For example, there is probably no USB port (or other common port) on your DVD player for you to upload your own software/firmware.