1
1
Fork
You've already forked cinder_block
0
A core-utils recreation so unportable it might as well be a cinder block.
  • Assembly 90%
  • Nix 6%
  • Makefile 4%
Find a file
2025年06月21日 02:29:00 -04:00
src Setup project, add echo 2025年06月21日 02:06:52 -04:00
tests Setup project, add echo 2025年06月21日 02:06:52 -04:00
.gitignore Setup project, add echo 2025年06月21日 02:06:52 -04:00
flake.lock Setup project, add echo 2025年06月21日 02:06:52 -04:00
flake.nix Setup project, add echo 2025年06月21日 02:06:52 -04:00
LICENSE Add README and LICENSE 2025年06月21日 02:20:19 -04:00
makefile Setup project, add echo 2025年06月21日 02:06:52 -04:00
README.org Update build requirements 2025年06月21日 02:29:00 -04:00

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 2024
  • gnumake : GNU Make 4.4.1
  • ld : 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