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

Add support for aarch64 builds #30

Closed
wants to merge 2 commits into from
Closed

Add support for aarch64 builds #30

wants to merge 2 commits into from

Conversation

thp
Copy link
Contributor

@thp thp commented Feb 10, 2023

This doesn't work yet and has not been tested, but GCC already supports aarch64 (obviously), and there's an aarch64 build of e.g. Windows 11 that runs on Parallels for Mac. I guess don't merge yet until this has been verified working, but since I wrote it for testing (didn't end up working...) I thought I might throw this in here before just removing the test code :)

@thp
Copy link
Contributor Author

thp commented Feb 10, 2023

For the record, the error I'm getting when building binutils:

$HOME/.zeranoe/mingw-w64/src/binutils/isl/include/isl/cpp.h:4237:68: error: no member named 'on_error' in 'isl::exception'
  options_scoped_set_on_error saved_on_error(saved_ctx, exception::on_error);
                                                        ~~~~~~~~~~~^

@thp
Copy link
Contributor Author

thp commented Feb 10, 2023

Ok, the particular error above is fixed by adding -std=c++14 to the CXXFLAGS when building with clang.

But now binutils fails with this:

checking langinfo.h presence... configure: error: GAS does not know what format to use for target aarch64-w64-mingw32

That points to binutils probably haven't been "ported" to 64-bit ARM Windows.

@Zeranoe
Copy link
Owner

Zeranoe commented May 25, 2024

Closing for now until this is ready.

@Zeranoe Zeranoe closed this May 25, 2024
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.

None yet

2 participants