<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>BeagleBone - Cross Compile c++ on Windows</title><link>/members-area/personalblogs/b/blog/posts/beaglebone---cross-compile-c-on-windows</link><description>How to cross-build BeagleBone c++ sources to Linux executables. The process isn&amp;#39;t difficult, but there are some traps that I&amp;#39;ll review here. Software RequirementsARM DS-5 development environmentLinaro GCC ToolChain7-Zip or another extractor...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: BeagleBone - Cross Compile c++ on Windows</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/beaglebone---cross-compile-c-on-windows</link><pubDate>Sat, 18 May 2019 17:21:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:04e56f70-fc1c-43ac-b95b-0a3bb1e107b1</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;For Code Composer Studio aficionados: &lt;a class="jive-link-blog-small" href="/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio"&gt;BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21793&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone - Cross Compile c++ on Windows</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/beaglebone---cross-compile-c-on-windows</link><pubDate>Fri, 26 Aug 2016 22:43:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:04e56f70-fc1c-43ac-b95b-0a3bb1e107b1</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;BeagleBone XWindow applications showing on my windows desktop via a remote XWindows session.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x349/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-04e56f70-fc1c-43ac-b95b-0a3bb1e107b1/3513.contentimage_5F00_190984.png:620:349]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I used Cygwin as the xwindows client on my laptop.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;run Cygwin&amp;#39;s XWin Server&lt;/p&gt;&lt;p&gt;open an xterm in the startx icon on the taskbar&lt;/p&gt;&lt;p&gt;secure shell into the BB&lt;/p&gt;&lt;p&gt;ssh -XY jancumps@192.168.1.5&lt;/p&gt;&lt;p&gt;Then enter password, and fire up some apps:&lt;/p&gt;&lt;p&gt;xlogo &amp;amp;&lt;/p&gt;&lt;p&gt;xcalc &amp;amp;&lt;/p&gt;&lt;p&gt;xterm &amp;amp;&lt;/p&gt;&lt;p&gt;xclock &amp;amp;&lt;/p&gt;&lt;p&gt;xmessage &amp;quot;Hello, world!&amp;quot; &amp;amp;&lt;/p&gt;&lt;p&gt;xedit &amp;amp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The console you see in the middle is the one I used to shell into the BB.&lt;/p&gt;&lt;p&gt;The 3 other windows are the logo, calc and terminal I executed on the BB that display on my PC.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21793&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone - Cross Compile c++ on Windows</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/beaglebone---cross-compile-c-on-windows</link><pubDate>Thu, 25 Aug 2016 08:54:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:04e56f70-fc1c-43ac-b95b-0a3bb1e107b1</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve added comments on the GCC toolchain that has the best compatibility with the current latest BB Debian image.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;The version of the toolchain that gave me the best compatibility with the Debian image&lt;span style="font-weight:inherit;font-style:inherit;"&gt; is&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:inherit;font-style:inherit;"&gt;&lt;span style="font-weight:inherit;font-style:inherit;"&gt;gcc-linaro-4.9-2015.05-1-rc1-i686-mingw32_arm-linux-gnueabihf&lt;/span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;It can be downloaded from here: &lt;a class="" href="http://snapshots.linaro.org/components/toolchain/binaries/4.9-2015.05-1-rc1/arm-linux-gnueabihf/gcc-linaro-4.9-2015.05-1-rc1-i686-mingw32_arm-linux-gnueabihf.tar.xz" style="font-weight:inherit;font-style:inherit;"&gt;http://snapshots.linaro.org/components/toolchain/binaries/4.9-2015.05-1-rc1/arm-linux-gnueabihf/gcc-linaro-4.9-2015.05-1…&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I ran into issues with my cross-compiler being a newer version than the current support on the BB Debian side.&lt;/p&gt;&lt;p&gt;And at the same time, I wanted to stay as close to that image as possible, without the need to install any package on the BB side to make this work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Adding the 4.9.3 toolchain does the trick. And it runs perfectly together with the 5.3.1 - no conflicts&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/616x544/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-04e56f70-fc1c-43ac-b95b-0a3bb1e107b1/contentimage_5F00_190983.png:616:544]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21793&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone - Cross Compile c++ on Windows</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/beaglebone---cross-compile-c-on-windows</link><pubDate>Mon, 01 Aug 2016 17:56:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:04e56f70-fc1c-43ac-b95b-0a3bb1e107b1</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I&amp;#39;ve added a video with the steps. Had to uninstall all software to shoot it.&lt;/p&gt;&lt;p&gt;I had to do too many trials and errors to be able to video this exercise live.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(For each step you see in the blog above, I have taken 5 or 6 wrong decisions)&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21793&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>