Hi! I am trying to build x86_64-binaries on apple m1 host-machine with next command:
cmake ../test -DCMAKE_INSTALL_PREFIX=../Install -DCMAKE_OSX_ARCHITECTURES=x86_64
It gives me the following results:
-- Boost.Context: architecture arm64, binary format mach-o, ABI aapcs, assembler gas, suffix .S, implementation fcontext
Is it possible to build x86_64 binaries this way? Or i need x86_64 host machine...
You can try with this fork to cross-compile:
https://github.com/kassane/context (w/ zig build).
Unfortunately only arm64-windows got problems with the masm extension as it supports mingw.
Hi! I am trying to build x86_64-binaries on apple m1 host-machine with next command:
cmake ../test -DCMAKE_INSTALL_PREFIX=../Install -DCMAKE_OSX_ARCHITECTURES=x86_64
It gives me the following results:
Is it possible to build x86_64 binaries this way? Or i need x86_64 host machine...