From c753eeea9ca535b8ad08490e93378ce2cf4b5940 Mon Sep 17 00:00:00 2001 From: emma Date: Wed, 7 Feb 2024 21:27:43 -0700 Subject: [PATCH] README: added build information and copyright --- README | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README b/README index 3f20417..60f36ec 100644 --- a/README +++ b/README @@ -17,6 +17,36 @@ purposes beyond its scope. See docs/ for more on the specific utilities currently implemented. +Building + +The coreutils require minimal dependencies for building: + +- bindgen(1) +- cc(1) with -idirafter +- cp(1p) +- make(1p) +- mkdir(1p) +- rustc(1) or equivalent +- sh(1p) + +To build and install: + +$ make +$ make PREFIX="/your/preferred/location" install + +To build with a different compiler than the default: + +$ make CC=clang # different C compiler than cc(1) +$ make RUSTC=gccrs # different Rust compiler than rustc(1) + +To test the utilities: + +$ make test + +To remove all untracked files: + +$ make clean + Read More An Introduction to the Unix Shell @@ -30,3 +60,7 @@ Master Foo Discourses on the Unix-Nature Shell Programming! + +-- +This work © 2023–2024 by Emma Tebibyte is licensed under CC BY-SA 4.0. To view a +copy of this license, visit