Open AngelOnFira opened 5 years ago
I'm working to get more info on this issue, as working from a clean image with standard gcc and clang appears to work, but when moving to new dev versions, can break it.
Try CC=clang CXX=clang++ UNATTENDED=yes SDK_VERSION=10.15 OSX_VERSION_MIN=10.14 ./build.sh
FYI I got this to work in docker already, you can find the dockerfile here: https://github.com/KaidanIM/dockerfiles/tree/master/mac-osxcross. It includes Qt5 already, but I'm not sure whether you need that.
The image is published on dockerhub as kaidan/mac-osxcross
.
@JBBgameich Cheers, I'll give this a go. I think I came across some other repos that did the same, but were quite outdated. I'll check yours out.
I'm not super knowledgable about compilers, but I've been trying to work my way through compiling this in Docker. I've tried using the flags
CC=gcc CXX=g++ ./build.sh
, however cctools says it can no longer compile with g++. However, when using only gcc or clang, apple-libtapi fails at theLLVM_NO_OLD_LIBSTDCXX
check since it can't compile the check without g++.The full command I'm using to try building with g++ is:
CC=gcc CXX=g++ UNATTENDED=yes SDK_VERSION=10.15 OSX_VERSION_MIN=10.14 ./build.sh