Skip to content
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

machine `aarch64-apple' not recognized #978

Open
reznikmm opened this issue Aug 17, 2024 · 1 comment
Open

machine `aarch64-apple' not recognized #978

reznikmm opened this issue Aug 17, 2024 · 1 comment
Labels
question Further information is requested

Comments

@reznikmm
Copy link

Hello!
I'm trying to build avr-libc on Mac OS X with GCC 14.1. The build fails with error:

$ cd /Users/runner/work/GNAT-FSF-builds/GNAT-FSF-builds/sbx/avr-elf-darwin/avrlibc/build
$ /bin/sh ../src/configure --host=avr --prefix=/Users/runner/work/GNAT-FSF-builds/GNAT-FSF-builds/sbx/avr-elf-darwin/avrlibc/install --target=avr --build=aarch64-apple-darwin23.6.0

checking build system type... Invalid configuration `aarch64-apple-darwin23.6.0': machine `aarch64-apple' not recognized

How to fix this?

@sprintersb sprintersb added the question Further information is requested label Aug 17, 2024
@sprintersb
Copy link
Collaborator

  • First of all, the host is avr: --host=avr because AVR-LibC's code is supposed to run on AVR.

  • No target specification is required.

  • What happens when you just don't specify --build? Or maybe --build=`../src/config.guess`? The build system type doesn't actually matter much; you can build AVR-LibC on Linux and use the so built libc on Windows; all what's required are the GNU tools on build (and shell, make etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants