A core-utils recreation so unportable it might as well be a cinder block.
| src | Setup project, add echo | |
| tests | Setup project, add echo | |
| .gitignore | Setup project, add echo | |
| flake.lock | Setup project, add echo | |
| flake.nix | Setup project, add echo | |
| LICENSE | Add README and LICENSE | |
| makefile | Setup project, add echo | |
| README.org | Update build requirements | |
Cinder Block
CinderBlock
A core-utils recreation so unportable it might as well be a cinder block. It only
works on x86-64 systems. And only tested on Linux version: Linux 6.6.87 SMP PREEMPT_DYNAMIC.
Requirements
For NixOS systems, or linux distributions with Nix:
nix: nix (Nix) 2.24.14
For other linux systems:
nasm: NASM version 2.16.03 compiled on Apr 17 2024gnumake: GNU Make 4.4.1ld: ld (GNU Binutils) 2.43.1
Usage
NixOS or Nix-enabled linux distributions:
nix develop
make -B echo # for now, will add an "all target in the future"
./build/echo
For other linux distributions:
make -B echo
./build/echo
Acknowledgements
- AMD64 Architecture Programmer’s Manual good stuff