musl-cross-make
                                
                                 musl-cross-make copied to clipboard
                                
                                    musl-cross-make copied to clipboard
                            
                            
                            
                        GCC Snapshots
Allows the user to specify a gcc snapshot version, from https://gcc.gnu.org/pub/gcc/snapshots, or a mirror of, as the gcc version in the config.mak by setting it as the GCC_VER , for example
GCC_VER = 14-20240310
and use version of gcc to build the toolchain
source: https://git.zv.io/toolchains/musl-cross-make/-/blob/musl.cc/Makefile?ref_type=heads#L67-L68
My test run + artifacts
https://github.com/userdocs/musl-cross-make/actions/runs/8287381126
The problem with this is that mcm explicitly builds toolchains intended to work correctly with musl, which, for most combinations of gcc version and target, means patches are required. I do not want to add as a standard feature an easy way to make toolchains that are subtly broken.
If there were some way to associate with snapshots a base version and apply the patches from that base version and error out if they don't apply unless the user has supplied their own rebased patches, it might make sense to offer this.
The archives have a top level dir named gcc-14-20240310/ - would this not be enough to provide patches in a folder named patches/gcc-14-20240310 ?
I figure anyone doing this is in a dev mode anyway and this would be sufficient?