ref: eda3eda0e85209d3a18460f2b569f469fc1610a4
parent: 9c0b13d8c0966d5e1eaaf878c40334f88fba7225
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Jan 5 09:26:09 EST 2022
doc: Update build instructions in README
--- a/README
+++ b/README
@@ -8,6 +8,11 @@
- PREFIX: Prefix of the path where scc toolchain is going
to be installed. /usr/local by default.
+ - DESTDIR: Temporary directory prepend to PREFIX used in the
+ install path. It is mainly intended to help package maintainers
+ to install in a specific directory used as base for the package
+ generation.
+
- CROSS_COMPILE:
Specify a prefix name for the tools called by the Makefile.
@@ -43,11 +48,16 @@
The main targets of the Makefile are:
- all:
- Compile the toolchain and all the amd64-posix libc. It automatically
- determines what is the best value for HOST.
+ Compile the toolchain and the libc. It automatically
+ determines what is the best value for HOST. It sets the
+ value of CONF for the toolchain that is used by the
+ toolchain as the default target. It also compiles the libc
+ for all the available configurations based in the host
+ architecture.
- toolchain
- Compile the toolchain.
+ Compile the toolchain with the default configuration
+ specified in CONF.
- libc:
Compile the libc for the target specified in CONF.