> I just built musl and found that it also installs ?bin/musl-gcc?, a > wrapper of sorts, but it doesn?t work as it depends on a ?gcc? > executable to be available.
With gcc 6 the wrapper isn't necessary anymore. You can disable it with "--disable-gcc-wrapper". Other configure-flags that we probably want are "--enable-shared" "--enable-static". Next step is getting a toolchain setup. Maybe you can take inspiration from this PR here =) https://github.com/NixOS/nixpkgs/pull/16217/files