<div dir="ltr"><div class="gmail_quote">Yes, I actually put a page on the wiki with my thoughts; didn't get as far as instructions for actually building portable binaries:<br><a href="https://rpg.hamsterrepublic.com/ohrrpgce/Portable_GNU-Linux_binaries">https://rpg.hamsterrepublic.com/ohrrpgce/Portable_GNU-Linux_binaries</a><br>Aside from the two options presented on the freegamedev wiki page, there is a third option: crosscompile. Then you ought to be able to compile just by passing the right arguments to scons. This is a lot like the chroot option, except you don't need a full distro, just the core libraries, headers, and build tools.<br></div><div class="gmail_quote">I found a post about how to do that: <a href="http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/">http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/</a><br></div><div class="gmail_quote">Towards the end of the article he links to a script which does it all automatically: <a href="https://gist.github.com/preshing/41d5c7248dea16238b60">https://gist.github.com/preshing/41d5c7248dea16238b60</a> but it doesn't look foolproof.<br></div><div class="gmail_quote">But there ought to be a faster way that just downloads existing binary packages instead of compiling gcc etc.</div><div class="gmail_quote"><br>Also, it's not necessary to do the -Wl,-rpath stuff in that freegamedev article. Usually instead people just provide a .sh script which sets LD_LIBRARY_PATH before calling the executable, which is a lot easier to inspect and modify. Could also use such a script to decide whether to run a 32 or 64 bit binary, to package games universally for linux.<br><br>On 1 February 2017 at 08:20, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><div>I recently discovered that 64 bit binaries of the ohrrpgce build on Ubuntu 16.04 will not run on Ubuntu 14.04 because of glibc incompatibilities.<br><br></div>Googling about this issue led me to <a target="_blank" href="http://freegamedev.net/wiki/Portable_binaries">http://freegamedev.net/wiki/Po<wbr>rtable_binaries</a> where I learned that we should be linking against the oldest glibc version that we can make work.<br><br></div>How exactly to link against an old glbc is a mystery to me at the moment, but I see that I have some more problems to solve before I will reasonably be able to use my home computer to build the nightly linux builds, since it is running Ubuntu 16.04 (unless I decide to go the Virtualbox for even Linux)<br></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a target="_blank" href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a target="_blank" rel="noreferrer" href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><div><div class="gmail_extra"><br></div></div></div>