README: added build information and copyright
This commit is contained in:
parent
d3470233ea
commit
c753eeea9c
34
README
34
README
@ -17,6 +17,36 @@ purposes beyond its scope.
|
|||||||
|
|
||||||
See docs/ for more on the specific utilities currently implemented.
|
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
|
Read More
|
||||||
|
|
||||||
An Introduction to the Unix Shell
|
An Introduction to the Unix Shell
|
||||||
@ -30,3 +60,7 @@ Master Foo Discourses on the Unix-Nature
|
|||||||
|
|
||||||
Shell Programming!
|
Shell Programming!
|
||||||
<https://tldp.org/LDP/abs/html/why-shell.html>
|
<https://tldp.org/LDP/abs/html/why-shell.html>
|
||||||
|
|
||||||
|
--
|
||||||
|
This work © 2023–2024 by Emma Tebibyte is licensed under CC BY-SA 4.0. To view a
|
||||||
|
copy of this license, visit <http://creativecommons.org/licenses/by-sa/4.0/>
|
||||||
|
Loading…
Reference in New Issue
Block a user