swift-mac2arm-x-compile-toolchain
swift-mac2arm-x-compile-toolchain copied to clipboard
SPM toolchain to cross compile Raspberry Pi Swift binaries on macOS
The script runs the build of binutils fine but just stops at: Configuring gold (~11s).. .. building gold (~1m).. The xt-gold-make.log shows as first error: gold-threads.cc:288:13: error: expected expression :...
When I run `swift build --destination /tmp/cross-toolchain/arm64v8-ubuntu-bionic-destination.json` I get the following error message: ``` :0: error: unknown argument: '-color-diagnostics' ``` Does anyone know how to fix this issue? If I...
The command `swift build --destination /tmp/cross-toolchain/arm64v8-ubuntu-bionic-destination.json` Results in: ``` ld: unknown option: -rpath=$ORIGIN :0: error: link command failed with exit code 1 (use -v to see invocation) ``` Using the...
After patching gold-threads.cc line 288, I was able to build the complete toolchain. I checked everything including the file format which my Mac with Mojave said was: "ELF 64-bit LSB...