4 ms·
No, they are minimal versions written for the OS. Here is ls[0] and cat[1]. You can compile with GCC. [0] http://www.ccs.neu.edu/course/cs3650/unix-xv6/HTML/
by zxexz 11y ago
No, they are minimal versions written for the OS. Here is ls[0] and cat[1]. You can compile with GCC.
[0] http://www.ccs.neu.edu/course/cs3650/unix-xv6/HTML/S/64.html http://www.ccs.neu.edu/course/cs3650/unix-xv6/HTML/S/64.html
[1] http://www.ccs.neu.edu/course/cs3650/unix-xv6/HTML/S/42.html http://www.ccs.neu.edu/course/cs3650/unix-xv6/HTML/S/42.html
- userbinator 11y agoI wonder if a suitably minimalist C compiler (along the lines of C4[1] or C4x86[2], although perhaps a bit more featured) and/or assembler to go along with it would be a neat idea too - now you can have a complete self-bootstrapping OS which one person can easily understand. [1] https://news.ycombinator.com/item?id=8558822 https://news.ycombinator.com/item?id=8558822 [2] https://news.ycombinator.com/item?id=8746054 https://news.ycombinator.com/item?id=8746054
- riquito 11y agoBy reading `cat`, how come that error messages are printend on standard output and the exit code is always 0? stderr and exit codes are not implemented/used in xv6?