TipsAndTricks/Running YP binaries on Ubuntu and Vice Versa: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(Created page with "= Fun with moving things between os's!= <span style="color:#FF0000"> Note: This is a hack to allow you to do some interesting things for experimental purposes. There are a la...")
 
No edit summary
Line 1: Line 1:
= Fun with moving things between os's!=
= Fun with moving things between os's!=


<span style="color:#FF0000"> Note: This is a hack to allow you to do some interesting things for experimental purposes. There are a large number of undiscovered ways this can fail. Use at your own risk :).</span>
<span style="color:#FF0000"> Note: This is a <strong>hack</strong> to allow you to do some interesting things for experimental purposes. There are a large number of undiscovered ways this can fail. Use at your own risk :).</span>
== So, you want to run your ubuntu binary on qemux86-64 built with YP==
== So, you want to run your ubuntu binary on qemux86-64 built with YP==
* We'll assume that the binary of interest is gawk. Chosen pretty randomly...
* We'll assume that the binary of interest is gawk. Chosen pretty randomly...
* I will call the ubuntu native gawk gawk-ubuntu.  I got it by <code>cp /usr/bin/gawk ~/gawk-ubuntu </code>
* I will call the ubuntu native gawk gawk-ubuntu.  I got it by <code>cp /usr/bin/gawk ~/gawk-ubuntu </code>

Revision as of 23:11, 23 March 2017

Fun with moving things between os's!

Note: This is a hack to allow you to do some interesting things for experimental purposes. There are a large number of undiscovered ways this can fail. Use at your own risk :).

So, you want to run your ubuntu binary on qemux86-64 built with YP

  • We'll assume that the binary of interest is gawk. Chosen pretty randomly...
  • I will call the ubuntu native gawk gawk-ubuntu. I got it by cp /usr/bin/gawk ~/gawk-ubuntu