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 :)
> 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.