crossdirect: fix 'could not find compiler "...-cc"' error
cross/crossdirect: add more comments and license
Make it easier to wrap one's head around the code and make the license
explicit. It was implicit already by the LICENSE file of this repository.
cross/crossdirect: translate cc to gcc
Fix errors when trying to compile with "cc":
ccache: error: Could not find compiler "aarch64-alpine-linux-musl-cc" in PATH
Test plan
- Reproduce the error when trying to cross compile packages from !1472 (merged) (which have CC=cc):
$ mrhlpr checkout 1472
$ pmbootstrap build --strict --arch=aarch64 sxmo-dwm
...
ccache: error: Could not find compiler "aarch64-alpine-linux-musl-cc" in PATH
- Verify that this MR fixes it
$ mrhlpr checkout # this MR
$ pmbootstrap build --strict crossdirect
$ mrhlpr checkout 1472
$ pmbootstrap build --strict --arch=aarch64 sxmo-dwm
(build finishes without error)
Fixes #732 (closed) and unblocks !1472 (merged).