Raspberry Pi: Difference between revisions

Content deleted Content added
Specifications: compiling on the device
Developing Software: formatting fix
Line 136:
 
==Developing Software==
It is possible in theory to use the Raspberry Pi to develop software, unlike the Arduino which has far too little memory and uses a cross-platform IDE instead.<ref>[http://en.wikipedia.org/wiki/Arduino#Software Arduino software development] </ref>However, initial attempts have not found it to be an attractive approach. Broadcom employee JamesH reported that it "took ages" to compile the Stellarium application, 30 times longer than on an Athlon PC (5 hours vs. 10 minutes).<ref>[http://www.raspberrypi.org/forum/general-discussion/design-choices-behind-the-rpi/#p36786 JamesH: compiling "took ages"]</ref>Broadcom employee Dom estimated that it was several times faster to compile inside a QEMU emulator than on the actual hardware.<ref>[http://www.raspberrypi.org/forum/general-discussion/emulator-vs-the-real-thing/#p38786 Dom: emulated compile faster than on hardware]</ref>One experimenter reported being disappointed by the results of an experiment where he ran out of memory in a 200MiB virtual machine when attempting to compile and run small C++ and Python programs to teach programming to his nephew.<ref>[http://www.raspberrypi.org/forum/general-discussion/design-choices-behind-the-rpi/#p36720 200MiB not enough for C++ or Python]</ref>Another experimenter wrote "there's not enough on-board memory to develop software on the device itself", "My only solution is to Cross-Compile."<ref>[http://blog.quickforge.co.uk/2011/10/exploration-of-cross-compiling-on-windows-for-arm-linux-distributions not enough on-board memory to develop software on the device itself]</ref>
http://www.raspberrypi.org/forum/general-discussion/design-choices-behind-the-rpi/#p36786 JamesH: compiling "took ages"]</ref>Broadcom employee Dom estimated that it was several times faster to compile inside a QEMU emulator than on the actual hardware.<ref>[http://www.raspberrypi.org/forum/general-discussion/emulator-vs-the-real-thing/#p38786 Dom: emulated compile faster than on hardware]</ref>
One experimenter reported being disappointed by the results of an experiment where he ran out of memory in a 200MiB virtual machine when attempting to compile and run small C++ and Python programs to teach programming to his nephew.<ref>[http://www.raspberrypi.org/forum/general-discussion/design-choices-behind-the-rpi/#p36720 200MiB not enough for C++ or Python]</ref>Another experimenter wrote "there's not enough on-board memory to develop software on the device itself", "My only solution is to Cross-Compile."<ref>[http://blog.quickforge.co.uk/2011/10/exploration-of-cross-compiling-on-windows-for-arm-linux-distributions not enough on-board memory to develop software on the device itself]</ref>
 
==Reception==