News for hackers. Stuff that matters.
Re:Building GCC as a Cross Compiler for Raspberry Pi by lisper on Saturday May 12, 2018 @11:34AM (#17054508)
No. I mean: Teach me how to build a compiler binary, and I'll be able to build pretty much whatever binaries I need whenever I need them for a lifetime. (What's the point of having a compiler at all if you're not going to build your own binaries?)

> the "fish" are free

That's true. But if you know how to build them you can make new kinds of fish. That can come in handy if you don't like the free fish.

Re:Building GCC as a Cross Compiler for Raspberry Pi by Fnoord on Saturday May 12, 2018 @11:43AM (#17054555)
> (What's the point of having a compiler at all if you're not going to build your own binaries?)

By 1) minimising the times you need to compile yourself 2) making it easy to compile yourself (e.g. easier than autoconf/automake but even those are examples which have said goal in mind).

> That's true. But if you know how to build them you can make new kinds of fish. That can come in handy if you don't like the free fish.

Its not difficult to learn how to make these new fish, but learn it when its the best or required (ie. only) solution.

A better analogy is that you have a hammer at your disposal, but you refuse to use it because when you learn to use your feet instead that's a useful practice. Its not; its only useful the time you don't have a hammer (which you usually have around). Instead, try to keep your hammer with you.

Re:Building GCC as a Cross Compiler for Raspberry Pi by bdowling on Saturday May 12, 2018 @05:47PM (#17056188)
Spending all day on a fishing boat when all you want is a fish is an apt analogy to building GNU cross toolchains for embedded targets.
Re:Building GCC as a Cross Compiler for Raspberry Pi by lisper on Saturday May 12, 2018 @06:00PM (#17056230)
Indeed so. And fishing is not for everyone. But some people find value in it.
Re:Building GCC as a Cross Compiler for Raspberry Pi by Kamshak on Saturday May 12, 2018 @11:59AM (#17054653)
So more like teach me how to build a fishing rod?
Re:Building GCC as a Cross Compiler for Raspberry Pi by lisper on Saturday May 12, 2018 @12:14PM (#17054714)
No. That would be teaching you how to write a compiler.
Re:Building GCC as a Cross Compiler for Raspberry Pi by amelius on Saturday May 12, 2018 @11:45AM (#17054569)
Yeah but if you are downloading a compiler, then that sort of implies that you know how to build binaries :)
Re:Building GCC as a Cross Compiler for Raspberry Pi by lisper on Saturday May 12, 2018 @11:58AM (#17054644)
Sure, if you count knowing how to type "make" as "knowing how to build binaries."
Re:Building GCC as a Cross Compiler for Raspberry Pi by xfer on Saturday May 12, 2018 @12:39PM (#17054822)
Yes, because every project uses the same build tools, right?