What is the proper way to build boost on macOS universally?
- Dominant language
- HTML
- Stars
- 8.6k
- Forks
- 1.9k
- Avg merge
- 39m
- Merged PRs (30d)
- 2
Description
I'm trying to build several boost libraries like universal binaries for arm64 and x86_64 architectures. Firstly I've built it by providing for b2 two archs at once like this:
`./b2 -arch x86_64 -arch arm64`
but it doesn't work, because of `boost-context` cross-compilation. There is some assembly code and I feel that it needs some clarifying params, like: ``, ``, `` and ``. So build fails.
I try to build two slim binaries and with `lipo` create universal one.
Building `x86_64` slim library on Macbook with `Apple Silicone` fails for `boost-locale` and `boost-stacktrace` libraries. As I understand about `boost-locale`, it can not find `libiconv` while building slim library.
So the question is, what's the proper way to build universal binaries for macOS using `b2`?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.