<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 23, 2016 at 10:54 AM, Rick Troth <span dir="ltr">&lt;<a href="mailto:rmt@casita.net" target="_blank">rmt@casita.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="Courier New, Courier, monospace">Linux-i386 (for all variants of &quot;i486&quot;, &quot;i586&quot;, and &quot;i686&quot;)<br>
        FreeBSD-i386 (is this compatible with next two?)<br>
        OpenBSD-i386 (is this compatible with previous and next?)<br>
        NetBSD-i386 (is this compatible with previous two?)<br>
        Minix-i386<br>
        Solaris-i386<br>
        CYGWIN-i386 (is this compatible with next?)<br>
        MinGW-i386 (is this compatible with previous?)</font></blockquote></div><br>I googled &quot;freebsd netbsd abi&quot; and this was the top hit: NetBSD Binary Emulation (<a href="http://www.netbsd.org/docs/compat.html">http://www.netbsd.org/docs/compat.html</a> ).  According to that page (under <a href="http://www.netbsd.org/docs/compat.html#ports">http://www.netbsd.org/docs/compat.html#ports</a> -- &quot;Which OSs can I emulate on my machine?&quot;) on i386 NetBSD you can run:</div><div class="gmail_extra"><div class="gmail-sect4"><div class="gmail-itemizedlist"><ul class="gmail-itemizedlist" style="color:rgb(0,0,0);font-family:tahoma,sans-serif"><li class="gmail-listitem">BSDI (up to BSDI 3.x binaries)</li><li class="gmail-listitem">FreeBSD(x86) (a.out and ELF binaries)</li><li class="gmail-listitem">IBCS2 systems<div class="gmail-itemizedlist"><ul class="gmail-itemizedlist"><li class="gmail-listitem">Interactive Unix</li><li class="gmail-listitem">SCO Unix</li><li class="gmail-listitem">SCO Xenix</li></ul></div></li><li class="gmail-listitem">Linux(x86)</li><li class="gmail-listitem">Solaris(x86)</li></ul><div style="color:rgb(0,0,0);font-family:tahoma,sans-serif">So that leaves OpenBSD, Minix, CYGWIN, and MinGW.</div><div style="color:rgb(0,0,0);font-family:tahoma,sans-serif"><br></div><div style="color:rgb(0,0,0);font-family:tahoma,sans-serif">This article (<a href="http://www.informit.com/articles/article.aspx?p=439601">http://www.informit.com/articles/article.aspx?p=439601</a>) says &quot;<span style="font-family:&#39;lucida grande&#39;,arial,helvetica,sans-serif;font-size:12.800000190734863px">NetBSD even includes a rudimentary Darwin ABI that allows some OS X applications to run.&quot;</span></div><div style="color:rgb(0,0,0);font-family:tahoma,sans-serif"><span style="font-family:&#39;lucida grande&#39;,arial,helvetica,sans-serif;font-size:12.800000190734863px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;lucida grande&#39;,arial,helvetica,sans-serif;font-size:12.800000190734863px">This (</span><a href="https://news.ycombinator.com/item?id=9198084">https://news.ycombinator.com/item?id=9198084</a> ) suggests that cygwin binaries aren&#39;t even compatible between different versions of cygwin, so I wouldn&#39;t look for compatibility elsewhere.</div><div><br></div>This (<a href="http://www.mingw.org/wiki/mingw">http://www.mingw.org/wiki/mingw</a> ) says &quot;Unlike Cygwin, MinGW doesn&#39;t provide Linux or Unix system calls or a POSIX emulation layer. &quot; so if they don&#39;t even provide source-level compatibility, I can&#39;t see how MinGW will run anyone else&#39;s binaries.  But this guy (<a href="http://www.jonshouse.co.uk/linuxmingw.cgi">http://www.jonshouse.co.uk/linuxmingw.cgi</a> ) installed mingw under wine</div><div class="gmail-itemizedlist"><br></div><div class="gmail-itemizedlist"><br></div><div class="gmail-itemizedlist">But, really, what is the problem you&#39;re trying to solve?  Do you want to just build something or do you want to actually test it as well?  For build-only, you could set up cross-compilation/build environments that are radically different from the hosted environment (GNU&#39;s SDK obviously supports this -- that&#39;s how the virus spreads ;-).  But to actually test/certify that something runs in another environment (even just a different version of the same environment), you really need to have that target environment running (if only in a virtual machine).</div><div class="gmail-itemizedlist"><br></div><div class="gmail-itemizedlist">Maybe it&#39;s that you want the fewest number of packages?</div><div class="gmail-itemizedlist"><br></div><div class="gmail-itemizedlist"><br></div><div class="gmail-itemizedlist">Jeff</div><div class="gmail-itemizedlist"><br></div></div></div></div>