5 ms·
Question. Does this run in Linux on arm? Or does it run on the CPU (be it hardware or emulated)? Bonus question: How can I answer that question for myself in
by daveloyall 12y ago
Question. Does this run in Linux on arm? Or does it run on the CPU (be it hardware or emulated)?
Bonus question: How can I answer that question for myself in the future when looking at similar source? Said differently: What am I looking at here? :)
- paraboul 12y agoIt runs on an OS (POSIX compliant). If you look at connect.s you can see that he uses syscalls (connect()/socket()). It's roughly what would produce a simple compiler targeting linux. Otherwise, it would have had to write a TCP stack, drivers, ...
- vhost- 12y agoOh my god, it would be so cool if you could boot to this. Raspberry Pi irc bot. Literally.
- Alupis 12y agoHe uses Linux sys calls, which means the kernel needs to be there (and a libc of some sorts)... but that's all that's needed. So, with the RPi, you could essentially "boot" this code with pretty much a bare-metal system otherwise.
- smorrow 12y agoIs Linux considered part of the machine itself now? Jesus.