News for hackers. Stuff that matters.
Re:Building GCC as a Cross Compiler for Raspberry Pi by lisper on Saturday May 12, 2018 @10:53AM (#17054308)
Give me a binary and I hack for a day. Teach me to build a binary and I code for a lifetime.

(Just in case you didn't get the allusion: https://quoteinvestigator.com/2015/08/28/fish/)

Re:Building GCC as a Cross Compiler for Raspberry Pi by amelius on Saturday May 12, 2018 @11:16AM (#17054410)
You mean:

Teach me how to build a compiler binary, and I'll be building compiler binaries for a lifetime.

which is somewhat less inspirational. Even less so when replacing "compiler binary" by "other people's code".

I think the main problem with your analogy is that in IT, the "fish" are free.

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?
Re:Building GCC as a Cross Compiler for Raspberry Pi by ggm on Saturday May 12, 2018 @04:32PM (#17055875)
Give me a binary and I run it. Teach me to build the binary and I am fixing bugs for a lifetime.
Re:Building GCC as a Cross Compiler for Raspberry Pi by lisper on Saturday May 12, 2018 @04:41PM (#17055915)
Better than just living with bugs for a lifetime IMHO.
Re:Building GCC as a Cross Compiler for Raspberry Pi by ggm on Saturday May 12, 2018 @04:42PM (#17055917)
"give a man a lump of sugru..."
Re:Building GCC as a Cross Compiler for Raspberry Pi by HankB99 on Saturday May 12, 2018 @07:26PM (#17056545)
Unrelated variant: Give a man fire and he'll be warm for a night. Set a man on fire and he'll be warm the rest of his life.

;)

Re:Building GCC as a Cross Compiler for Raspberry Pi by efficax on Saturday May 12, 2018 @11:49AM (#17054595)
lol you explained the fishing proverb