HaxeFoundation / HaxeFoundation/hxcpp

macOS - Create Universal Binaries (x64 and Arm64)

Open
#1,030 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

I managed to build universal binaries on macOS by modifying mac-toolchain.xml (manually adding the required `-arch` parameters for gcc, and unsetting `USE_PRECOMPILED_HEADERS`) and I can confirm that all of the object files and the executables are indeed universal. (I did not try this method with libraries, only executables)

It would be nice if HXCPP could do this out of the box.

*Note: this is not a bug report, but rather a feature request*

Thank you

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.