News for hackers. Stuff that matters.
Re:Quake III bounty: we have a winner by captainmuon on Monday March 31, 2014 @10:08AM (#7501525)
I wonder why its so hard? I once built a modern gcc + glibc in my home directory on an older linux (to be able to run modern programs), and it was mostly "relocatable" or "portable" (what I mean is that you could copy it around and run it from other directories).

Couldn't somebody build a full cross-compiler toolchain as "relocatable" binaries, depending on an older kernel, and then just offer that as a binary download to run on most recent distributions? It's not a typical way to distribute a linux application, but it should work in principle.

Re:Quake III bounty: we have a winner by sarnowski on Monday March 31, 2014 @10:19AM (#7501586)
I suggest looking at LinuxFromScratch[0], especially II.5. It's hard to do a "real" cross-platform compiler because your target system might not only be a different architecture but also has different libraries on the system with which the compiler has to work. All in all, doing it right and being able to ship binaries is a lot of work and constant maintenance as your target system, in this case Raspbian, also changes their libraries.

[0] http://www.linuxfromscratch.org/lfs/view/stable/

Re:Quake III bounty: we have a winner by raverbashing on Monday March 31, 2014 @10:15AM (#7501558)
Some issues:

Your GCC build has to match the userspace C library (uclibc or other). If it doesn't you'll need to do all the path passing and usually link manually as well.

It has also to match the kernel somewhat (not so critical for userspace apps, but if you want to add a module or something it's critical)

So, basically what you "should do" is build the whole system together (cross-compiler + userspace + kernel), some tools do that, building first a "raw" cross-compiler, then the C library and kernel, then a full compiler with all the options applied.

Re:Quake III bounty: we have a winner by code4life on Monday March 31, 2014 @10:45AM (#7501736)
Here is a great explanation of why setting up a cross compiler is so difficult.

http://www.airs.com/blog/archives/492