Skip to content

config.{sub,guess} are out of date #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
evaleev opened this issue Jan 31, 2024 · 1 comment · Fixed by #322
Closed

config.{sub,guess} are out of date #321

evaleev opened this issue Jan 31, 2024 · 1 comment · Fixed by #322

Comments

@evaleev
Copy link
Owner

evaleev commented Jan 31, 2024

          anyone wanting to generate `./configure` on Apple Silicon, this gets past the unrecognized machine error.
diff --git a/bin/config.sub b/bin/config.sub
index a44fd8ae..32495efa 100644
--- a/bin/config.sub
+++ b/bin/config.sub
@@ -1101,6 +1101,9 @@ case $cpu-$vendor in
        x64-*)
                cpu=x86_64
                ;;
+       arm64-*)
+               cpu=arm
+               ;;
        xscale-* | xscalee[bl]-*)
                cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
                ;;

Originally posted by @loriab in #318 (comment)

@evaleev
Copy link
Owner Author

evaleev commented Jan 31, 2024

up-to-date versions here: https://git.savannah.gnu.org/cgit/config.git/tree/

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 a pull request may close this issue.

1 participant