Skip to content

Conversation

@userdocs
Copy link
Contributor

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

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, like `GCC_VER = 14-20240310` and use this to build the toolchain

source: https://git.zv.io/toolchains/musl-cross-make/-/blob/musl.cc/Makefile?ref_type=heads#L67-L68
@userdocs
Copy link
Contributor Author

@richfelker
Copy link
Owner

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.

@userdocs
Copy link
Contributor Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants