<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7912492833342255499</id><updated>2024-08-31T06:02:40.728-07:00</updated><title type='text'>DracoSoftware</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dracosoftware.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dracosoftware.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>dracolytch</name><uri>http://www.blogger.com/profile/13902898018513140852</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7912492833342255499.post-3387065842806196165</id><published>2012-01-22T22:22:00.000-08:00</published><updated>2012-01-22T22:25:45.638-08:00</updated><title type='text'>Building a program which uses existing libraries</title><content type='html'>For this, we&#39;re going to build nsnake, which requires the &lt;i&gt;ncurses-devel&lt;/i&gt; set of precompiled libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;Note: While you&#39;re reading this tutorial, you&#39;ll see me exit the terminal a lot... I do that so that when I start the next section, it&#39;s always with a fresh terminal window, so everyone is in the same directory. You don&#39;t HAVE to do that, but that&#39;s why I do it in these tutorials. &lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Download the nSnake Source&lt;/span&gt;&lt;br /&gt;
Go here, to download a copy of nSnake (as of this writing version 1.5 is the latest):&lt;br /&gt;
&lt;a href=&quot;http://sourceforge.net/projects/nsnake/files/&quot;&gt;http://sourceforge.net/projects/nsnake/files/&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
Save the file to your &lt;b&gt;Downloads &lt;/b&gt;directory. You can get there by clicking on &lt;b&gt;Places -&amp;gt; Downloads&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOd-1TWFgZVkBoqd2CHfWLVh07hQ-FSH7uqV9sw6FubiVIrijMX2bimsoeO5YAULHn7qlmDM_RJGsd5lSnsEaGYbP-0hgUa1SucUduMkcOitl7csmeQmOKuYpscYEMM9J29tJBTcvgzQ/s1600/screenshot-5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOd-1TWFgZVkBoqd2CHfWLVh07hQ-FSH7uqV9sw6FubiVIrijMX2bimsoeO5YAULHn7qlmDM_RJGsd5lSnsEaGYbP-0hgUa1SucUduMkcOitl7csmeQmOKuYpscYEMM9J29tJBTcvgzQ/s320/screenshot-5.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Add caption&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Move the source to your build directory:&lt;br /&gt;
Open your build directory &lt;b&gt;Places -&amp;gt; Home Folder&lt;/b&gt;&lt;br /&gt;
Then double-click your &lt;b&gt;build&lt;/b&gt; directory&lt;br /&gt;
&lt;br /&gt;
Open your &lt;b&gt;Downloads &lt;/b&gt;directory. &lt;br /&gt;
Double-click &lt;b&gt;nsnake-1.5.tar.gz&lt;/b&gt; to see its contents&lt;br /&gt;
Drag / drop the &lt;b&gt;nsnake-1.5&lt;/b&gt; directory into your &lt;b&gt;build&lt;/b&gt; directory&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3MelqAVekPUEKWRuxcZGpwMwekhyphenhyphenwHlE879gK_J4gzO6VcN4Nab9k7BbsGdjcept7mQLrVkERSqeAcCedDGIhoX5TVrTpjKNitqAmdxntwPzmB0bAXzX1VIEUJaUgWlAnHz3KIRGfjg/s1600/screenshot-22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3MelqAVekPUEKWRuxcZGpwMwekhyphenhyphenwHlE879gK_J4gzO6VcN4Nab9k7BbsGdjcept7mQLrVkERSqeAcCedDGIhoX5TVrTpjKNitqAmdxntwPzmB0bAXzX1VIEUJaUgWlAnHz3KIRGfjg/s320/screenshot-22.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #cccccc; color: red;&quot;&gt;
Changing permissions to allow the installation of precompiled ARM libraries:&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
These steps are required due to a bug in the current virtual machine (0.2). The VM creator is aware, so these will likely not be required in future versions of the development VM:&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
Double-click the &lt;b&gt;Raspberry Pi Development&lt;/b&gt; icon &lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
Go to the ARM emulator root file system&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;cd ../raspberry_pi_development/f13arm-rootfs&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
Open the permissions on the folders WAY up. It will ask you for a password&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sudo chmod -R 777 *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[sudo] password for raspberry:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
The administrator password is:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;password&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: #cccccc; clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPGGJWHEssqtGVbvAq9o6fFixzS2xzkdjcin-4y9AhZ7i8cECzp6d9IpDsqZxBblnDwP3F3BMtzkr2WEKVecdvZ1h1EXt8frlmkelxd_77sl-TW7RuVAvcc01Wwxy93ZB0Ez78J6_zPQ/s1600/screenshot-13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPGGJWHEssqtGVbvAq9o6fFixzS2xzkdjcin-4y9AhZ7i8cECzp6d9IpDsqZxBblnDwP3F3BMtzkr2WEKVecdvZ1h1EXt8frlmkelxd_77sl-TW7RuVAvcc01Wwxy93ZB0Ez78J6_zPQ/s320/screenshot-13.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc; font-family: Arial,Helvetica,sans-serif;&quot;&gt;
Close that terminal window by entering:&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Compile for x86 / Linux&lt;/span&gt;&lt;br /&gt;
Double-click the &lt;b&gt;Raspberry Pi Development&lt;/b&gt; icon&lt;br /&gt;
In the terminal window, go to the nsnake-1.5 directory&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
cd nsnake-1.5&lt;/div&gt;
&lt;br /&gt;
Then, make the application by entering:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You can then run the program by entering the following command:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;./bin/nsnake&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhShOpH-zt3l1BdVYbRfvahk_ldYSvs-PdrlXVtvZCdmeDJa7DIdUtahAJvjuVQzozOBnoe7NSERSRtvw3tPsaoZPT-AQkrY2tlUCTbwiwdiRkb13d9kfxKguL7ukVb0GEfxQHt2TYpnQ/s1600/screenshot-8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhShOpH-zt3l1BdVYbRfvahk_ldYSvs-PdrlXVtvZCdmeDJa7DIdUtahAJvjuVQzozOBnoe7NSERSRtvw3tPsaoZPT-AQkrY2tlUCTbwiwdiRkb13d9kfxKguL7ukVb0GEfxQHt2TYpnQ/s320/screenshot-8.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Have fun, and play a round or two, you&#39;ve earned it! Press &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Q&lt;/span&gt; at the main menu to quit.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLaWuWfAVmVjW2ltOYyaMZyClSkYPPik2_9CQDq5Mi9NCKIPBtdnYd9yLhKp0QCgG2Paa2s6busRGW2-DiWtfd3lrh5R-xpPnGXL2tSGof1y07LSCUEeHvH41tH8HLhvHE8-UaKogjXA/s1600/screenshot-10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLaWuWfAVmVjW2ltOYyaMZyClSkYPPik2_9CQDq5Mi9NCKIPBtdnYd9yLhKp0QCgG2Paa2s6busRGW2-DiWtfd3lrh5R-xpPnGXL2tSGof1y07LSCUEeHvH41tH8HLhvHE8-UaKogjXA/s320/screenshot-10.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Once you&#39;re done playing around, you can close the terminal by entering:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Download the precompiled libraries for ARM&lt;/span&gt;&lt;br /&gt;
Ok, so the Linux VM that you&#39;re working with has all of the precompiled libraries needed already installed on it. However, the ARM emulator does not, which means nSnake will NOT compile correctly in SB2. We need to download a precompiled library before we go anywhere.&lt;br /&gt;
&lt;br /&gt;
Double-click the &lt;b&gt;Raspberry Pi Development&lt;/b&gt; icon&lt;br /&gt;
Enter the following to have Scratchbox make the ARM version of the precompiled &lt;i&gt;ncurses-devel&lt;/i&gt; library available:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
sb2 -eR yum install ncurses-devel&lt;/div&gt;
&lt;br /&gt;
You&#39;ll get a confirmation prompt or two. The answer is:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;y&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrEFjXp2oRpF45WO7kJ43tRCBMfL7lOozEBnwLAq9dFY2schMEvpNEP41i-ruDspY2xzPJ20Ujsj22-Os1f85WESRuNNZGM4f4oxeGeVpYdU8v-Xp31uwMhenAMgNpI4wcFexrMlz-Sg/s1600/screenshot-12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrEFjXp2oRpF45WO7kJ43tRCBMfL7lOozEBnwLAq9dFY2schMEvpNEP41i-ruDspY2xzPJ20Ujsj22-Os1f85WESRuNNZGM4f4oxeGeVpYdU8v-Xp31uwMhenAMgNpI4wcFexrMlz-Sg/s320/screenshot-12.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj221kGmMtH6PvvFtHvj3JHGBufQL697pFWucCmMP2VW7dce6Eh3DZpBHWHqdSj-RtyI6b708OYtd5rAK_W7KdU2tsK5K8QZabmwOAqMFQliXbKjDzTTfiprHgXU9R4NNMRZRFKAHtyFw/s1600/screenshot-14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj221kGmMtH6PvvFtHvj3JHGBufQL697pFWucCmMP2VW7dce6Eh3DZpBHWHqdSj-RtyI6b708OYtd5rAK_W7KdU2tsK5K8QZabmwOAqMFQliXbKjDzTTfiprHgXU9R4NNMRZRFKAHtyFw/s320/screenshot-14.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Leave the current terminal by entering:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Compile for ARM&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Double-click the &lt;b&gt;Raspberry Pi Development&lt;/b&gt; icon&lt;br /&gt;
&lt;br /&gt;
Change to the nSnake directory&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;cd nsnake-1.5&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Re-make the application for ARM. In this case, I&#39;m going to use the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;-B&lt;/span&gt; switch (case sensitive!) which will cause the whole application to re-compile from scratch. Why? Well, the current intermediate files (which are still valid / up-to-date) are in the wrong file format (x86 instead of ARM). If you try just a straight make, it will fail. &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;-B&lt;/span&gt; will insure all intermediate files are compiled into ARM binaries.&lt;br /&gt;
&lt;br /&gt;
To make nSnake for ARM, and forcing all fresh intermediate files, enter:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sb2 make -B&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
One more step before you run the ARM version: You need to set an environment variable for compatibility/emulation reasons. In your terminal window, enter:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
TERM=linux&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
Then, as you&#39;d expect at this point:&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
sb2 ./bin/nsnake&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp2zdDWYErtOYP9F24B4bGCAtpgB0wKz5Jzu_p5KK3KY6Sw1qmjfZcINjzDj3QnbqEa9IcQnKrAcUELCxvZqQM6_yi3j423Eix4o9YSMlLLUUUuTNm4wMxrDRXJ7jiMoML0YqLihiU2w/s1600/screenshot-23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp2zdDWYErtOYP9F24B4bGCAtpgB0wKz5Jzu_p5KK3KY6Sw1qmjfZcINjzDj3QnbqEa9IcQnKrAcUELCxvZqQM6_yi3j423Eix4o9YSMlLLUUUuTNm4wMxrDRXJ7jiMoML0YqLihiU2w/s320/screenshot-23.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Enjoy, your game!&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dracosoftware.blogspot.com/feeds/3387065842806196165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/building-program-which-uses-existing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/3387065842806196165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/3387065842806196165'/><link rel='alternate' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/building-program-which-uses-existing.html' title='Building a program which uses existing libraries'/><author><name>dracolytch</name><uri>http://www.blogger.com/profile/13902898018513140852</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOd-1TWFgZVkBoqd2CHfWLVh07hQ-FSH7uqV9sw6FubiVIrijMX2bimsoeO5YAULHn7qlmDM_RJGsd5lSnsEaGYbP-0hgUa1SucUduMkcOitl7csmeQmOKuYpscYEMM9J29tJBTcvgzQ/s72-c/screenshot-5.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7912492833342255499.post-464670954106000393</id><published>2012-01-22T18:47:00.000-08:00</published><updated>2012-03-06T06:03:51.736-08:00</updated><title type='text'>Hello World</title><content type='html'>In the last post, I talked about how to get a development environment up and running on your PC. You&#39;ll need to do that if you haven&#39;t done so already: &lt;a href=&quot;http://dracosoftware.blogspot.com/2012/01/developing-in-virtual-machine.html&quot;&gt;http://dracosoftware.blogspot.com/2012/01/developing-in-virtual-machine.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;2012-01-22 Since the initial writing, 
there has been a new virtual machine released, which streamlines some of
 this. This post has been updated to reflect these changes.&lt;/span&gt;&lt;/blockquote&gt;
Let&#39;s get some actual code compiled!&lt;br /&gt;
&lt;br /&gt;
Login like you did in the first tutorial, and you should see the Linux desktop:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp4m1q5sDLzTYOcjEdw_fUFmKd4SBat4b9kUgkTA_t-Zpv0SJwGTF_lexmZBlICnLsQC_FYci2PQDNp4GE_eve2sv5cUXaWkyEokKDPM1d7xyNasT7ojQEV7_G1Tb6VEhbghuSDKm8QQ/s1600/screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp4m1q5sDLzTYOcjEdw_fUFmKd4SBat4b9kUgkTA_t-Zpv0SJwGTF_lexmZBlICnLsQC_FYci2PQDNp4GE_eve2sv5cUXaWkyEokKDPM1d7xyNasT7ojQEV7_G1Tb6VEhbghuSDKm8QQ/s320/screenshot-1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Double click the &lt;b&gt;Raspberry Pi Development&lt;/b&gt; icon to start a terminal session.&lt;br /&gt;
&lt;br /&gt;
My version of the virtual machine came with a &quot;Hello World&quot; example already in place. That&#39;s great for checking validity of the system, but not so hot for learning how to do things from the ground up... So let&#39;s create hello2.&lt;br /&gt;
&lt;br /&gt;
Make a directory for our Hello, World program&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
mkdir hello2&lt;/div&gt;
&lt;br /&gt;
Go into it&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
cd hello2&lt;/div&gt;
&lt;br /&gt;
Now we need to enter a text editor. Linux has a variety of text editors you can use (with lots of heated debate as to which is best). For now I&#39;m going to use Pico because it&#39;s quick/easy for folks more familiar with Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
pico hello2.cpp&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheIeWqfZ7MBl36M6Rb0qiUpHhizwU8p6PT1Q0Aw14csxhkYVpQoVmARBYsuhVMHuh8aES9C_gLIP3M5TwIwYABfu5AGbZ_WbGmkT_P-Kp1o4N_8ZW_3AhdHqo1rYO5uWjFgJnFFboekA/s1600/screenshot-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheIeWqfZ7MBl36M6Rb0qiUpHhizwU8p6PT1Q0Aw14csxhkYVpQoVmARBYsuhVMHuh8aES9C_gLIP3M5TwIwYABfu5AGbZ_WbGmkT_P-Kp1o4N_8ZW_3AhdHqo1rYO5uWjFgJnFFboekA/s320/screenshot-2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Now, you can copy/paste the following source into pico by copying here, and then right-clicking in the terminal window and selecting Paste&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/* Hello World program */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Hello, world!\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
Press &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Ctrl-X&lt;/span&gt; to exit Pico &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
It will ask you if you want to save the buffer. Press&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; Y&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
Confirm the f&lt;span style=&quot;font-family: inherit;&quot;&gt;ile name: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;hello2.c&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;pp&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_8ZLom9ue7iHsyQNUTz962wnvTxeF6iHvXog-RI973lWMTa4vk_edzmA8M6cnDWvtLHZB2ReJwqkUzzA_5Vx8-Ts59c3tyaMf4wd7496oSdhKftrItav4P_HpTlyrBIAIBk0fxnphwg/s1600/screenshot-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_8ZLom9ue7iHsyQNUTz962wnvTxeF6iHvXog-RI973lWMTa4vk_edzmA8M6cnDWvtLHZB2ReJwqkUzzA_5Vx8-Ts59c3tyaMf4wd7496oSdhKftrItav4P_HpTlyrBIAIBk0fxnphwg/s320/screenshot-3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
Now we&#39;re back to the command prompt. We&#39;re going to compile the code you&#39;ve just written using a tool called Scratchbox2. Scratchbox2&#39;s main job is to provide a cross-compiling environment, in this case for ARM. It also provides an emulator so that you can run the binaries we&#39;ll be creating... Seriously handy stuff.&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
You can go into ScratchBox2 in either single-command or interactive mode. I prefer single-command mode so I don&#39;t have to drop in/out of interactive mode as I edit files in pico (if you&#39;re using vi or another editor, you may not have this problem).&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
So, to run a command under ScratchBox2, you type:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sb2 [command]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
So, for us to compile our source file to an executable file, called &quot;hello&quot; (note the lack of extension, this is on purpose for Linux), we issue the following command:&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sb2 gcc hello2.cpp -o hello2 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
If you want to learn about a file (such as check to see what environment it&#39;s compiled for), you use the &lt;b&gt;file &lt;/b&gt;command. In this case, we don&#39;t need to emulate that in ScratchBox, so we enter:&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
file hello2&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
The response should be a bit like this (target cpu emphasis mine)&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;hello: ELF 32-bit LSB executable, &lt;b&gt;ARM&lt;/b&gt;, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
To run our program in ScratchBox&#39;s emulator, enter the following:&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sb2 ./hello2&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9RIblxncYRuxiKuMkCDbweluKdl5C1dyx6ChhGkoMqPw3meZRB6hbao1p_kZ5VfAiGcYuHX1Mv-EOrtAyfycM0rk0dM5WSNVeGjhXWxDMa3Fd0mzhP8zsLpjv6iZ09AGAfpoFr2MwYQ/s1600/screenshot-4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9RIblxncYRuxiKuMkCDbweluKdl5C1dyx6ChhGkoMqPw3meZRB6hbao1p_kZ5VfAiGcYuHX1Mv-EOrtAyfycM0rk0dM5WSNVeGjhXWxDMa3Fd0mzhP8zsLpjv6iZ09AGAfpoFr2MwYQ/s320/screenshot-4.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Congrats, you now have Hello, World running in an emulated ARM environment! You can exit the terminal by entering:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; exit&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dracosoftware.blogspot.com/feeds/464670954106000393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/hello-world.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/464670954106000393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/464670954106000393'/><link rel='alternate' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/hello-world.html' title='Hello World'/><author><name>dracolytch</name><uri>http://www.blogger.com/profile/13902898018513140852</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp4m1q5sDLzTYOcjEdw_fUFmKd4SBat4b9kUgkTA_t-Zpv0SJwGTF_lexmZBlICnLsQC_FYci2PQDNp4GE_eve2sv5cUXaWkyEokKDPM1d7xyNasT7ojQEV7_G1Tb6VEhbghuSDKm8QQ/s72-c/screenshot-1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7912492833342255499.post-4491300391424117587</id><published>2012-01-16T20:01:00.000-08:00</published><updated>2012-01-22T20:22:28.356-08:00</updated><title type='text'>Developing in a Virtual Machine</title><content type='html'>Ok, so right now there is an extreme shortage of actual Raspberry Pi computers. Thankfully, to help me get started on my journey regardless, there is a virtual machine which can be used to start developing for Raspberry Pi (This is different and distinct from a Raspberry Pi virtual machine, which does not exist to my knowledge).&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;2012-01-22 Since the initial writing, there has been a new virtual machine released, which streamlines some of this. This post has been updated to reflect these changes.&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
First, you&#39;ll need to download and install VirtualBox, a free VM environment  (as of this writing version 4.1.8 is the latest).&lt;br /&gt;
&lt;a href=&quot;https://www.virtualbox.org/wiki/Downloads&quot; target=&quot;_blank&quot;&gt;https://www.virtualbox.org/wiki/Downloads&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After you&#39;ve installed VirtualBox, you will want to download the VirtualBox extensions.&lt;br /&gt;
&lt;a href=&quot;http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#extpack&quot;&gt;http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#extpack&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, you&#39;ll need a copy of the Raspberry Pi virtual machine. The developer who has created the VM has put a torrent to the VM here (it&#39;s 1.9 gigabytes, so local hosting is... tricky).&lt;br /&gt;
&lt;a href=&quot;http://russelldavis.org/2011/09/10/virtualbox-vm-for-raspberrypi-development/&quot; target=&quot;_blank&quot;&gt;http://russelldavis.org/2012/01/20/new-raspberry-pi-development-vm-v0-2/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Don&#39;t have a torrent client? This one seems to be a good mix of usability and low-invasiveness:&lt;br /&gt;
&lt;a href=&quot;http://www.bittorrent.com/downloads/complete?os=win&quot;&gt;http://www.bittorrent.com/downloads/complete?os=win&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Once you have VirtualBox installed, open the zip and put the VM image (RaspberryPi-Development-v0.2.ova) somewhere convenient. You should be able to just double-click the ova file to get the VM imported.&lt;br /&gt;
&lt;br /&gt;
Start the VM, click the Raspberry Pi Developer account, and login with a password of: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;password&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVSDj-cEuTG4r12_RPyX1o1aRul34qqWmWzoqbkwMhQC2EvA-Ig9s0XBPAid21-95ypEQeeOSszyBPA1QvRDlxmaPjBN8fJs_j_w_lX0D-LC3Ih1Kk2rwG7Jdg93kLQF4gOT-RJn6Z3w/s1600/screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVSDj-cEuTG4r12_RPyX1o1aRul34qqWmWzoqbkwMhQC2EvA-Ig9s0XBPAid21-95ypEQeeOSszyBPA1QvRDlxmaPjBN8fJs_j_w_lX0D-LC3Ih1Kk2rwG7Jdg93kLQF4gOT-RJn6Z3w/s320/screenshot-1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;Poof, before you know it: A Raspberry Pi dev environment running in a VM.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Next up, compiling and running &quot;Hello world&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp4m1q5sDLzTYOcjEdw_fUFmKd4SBat4b9kUgkTA_t-Zpv0SJwGTF_lexmZBlICnLsQC_FYci2PQDNp4GE_eve2sv5cUXaWkyEokKDPM1d7xyNasT7ojQEV7_G1Tb6VEhbghuSDKm8QQ/s1600/screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp4m1q5sDLzTYOcjEdw_fUFmKd4SBat4b9kUgkTA_t-Zpv0SJwGTF_lexmZBlICnLsQC_FYci2PQDNp4GE_eve2sv5cUXaWkyEokKDPM1d7xyNasT7ojQEV7_G1Tb6VEhbghuSDKm8QQ/s320/screenshot-1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dracosoftware.blogspot.com/feeds/4491300391424117587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/developing-in-virtual-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/4491300391424117587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/4491300391424117587'/><link rel='alternate' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/developing-in-virtual-machine.html' title='Developing in a Virtual Machine'/><author><name>dracolytch</name><uri>http://www.blogger.com/profile/13902898018513140852</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVSDj-cEuTG4r12_RPyX1o1aRul34qqWmWzoqbkwMhQC2EvA-Ig9s0XBPAid21-95ypEQeeOSszyBPA1QvRDlxmaPjBN8fJs_j_w_lX0D-LC3Ih1Kk2rwG7Jdg93kLQF4gOT-RJn6Z3w/s72-c/screenshot-1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7912492833342255499.post-2901437291783462595</id><published>2012-01-16T19:02:00.000-08:00</published><updated>2012-01-16T19:02:44.169-08:00</updated><title type='text'>Getting Started with Raspberry Pi</title><content type='html'>Ok, like many people, I&#39;m thrilled about Raspberry Pi. A small/cheap computer, that still has enough functionality to actually DO stuff.&lt;br /&gt;
&lt;br /&gt;
They&#39;re $25, or $35 depending on configuration. You can learn more about them at http://www.raspberrypi.org. The only real &quot;downside&quot; is that they run Linux (not surprising since you could buy four of them for the same price as a copy of Windows).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Like many geeks, I have a small computer at home that I use to store my files, perform backups, run FTP, subversion, check if my websites are up, etc. This computer cost me $500, and is in the process of dying. I don&#39;t need something powerful, I need something that works and that I can leave on 24/7, while using as little power as possible.&lt;br /&gt;
&lt;br /&gt;
I&#39;m pretty sure a Raspberry Pi will be able to meet all of my computational needs for this kind of low-tech home server.&lt;br /&gt;
&lt;br /&gt;
I&#39;m a programmer, but I&#39;m a Windows guy, not a Linux guy. That means there&#39;s going to be a considerable learning curve as I work toward making this little box do the kinds of monitoring and maintenance that I&#39;ll be looking to have it do. For the immediate future, I&#39;m hoping to document my progress here as a series of tutorials, to make it easy and straightforward for folks to do the kinds of things that I&#39;m looking to do.</content><link rel='replies' type='application/atom+xml' href='http://dracosoftware.blogspot.com/feeds/2901437291783462595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/ok-like-many-people-im-thrilled-about.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/2901437291783462595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7912492833342255499/posts/default/2901437291783462595'/><link rel='alternate' type='text/html' href='http://dracosoftware.blogspot.com/2012/01/ok-like-many-people-im-thrilled-about.html' title='Getting Started with Raspberry Pi'/><author><name>dracolytch</name><uri>http://www.blogger.com/profile/13902898018513140852</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>