M
M
Mimuss2017-05-12 22:31:37
linux
Mimuss, 2017-05-12 22:31:37

How to collect wasps under a bare wand?

Let's say we have bare metal (say a Raspberry pi) which is pure hardware without any OS, software or kernel. How to build any distribution from source on this hardware? Leading, as I understand it, bare metal has no environment at all, user interaction and, accordingly, even compiling the source code will not work, because in order to compile something from the source code, you need a compiler that runs under the operating system (usually I always do), and the OS we don't, because it's bare iron. It turns out a vicious circle Build OS -> Compiler -> Need OS -> ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2017-05-12
@jcmvbkbc

Cross compilation .

D
Daniel1976, 2017-06-14
@Daniel1976

Maybe I'm late, but if I understand correctly, you can roll a standard distribution kit onto the RPi, from the ones offered by Ubuntu Pi or whatever they are. In short, there is an axis for it. And from under this axis, assemble your own from the sources.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question