I followed the instructions for setting up the environment; I extracted quite a few “MacOSX11.1.sdk.tar.xz” files, from 2 different MacOses with different versions: from the Xcode.app, from the command line tools, from the .dmg file (only available for the command line tools, not the whole thing); I also extracted one using Linux Mint (based on Ubuntu) from the .xip file, and I also tried a couple of net found ones as well… no matter what… building the tools for Mac always fails at the same spot: when building apple-libtapi I get a linker error:
/usr/bin/ld: cannot find -lstdc++: No such file or directory
What am I doing wrong? The Linux and Win. parts build and work fine. Trying to build everything using Linux Mint 21.3.
Don’t waste your time trying the “net ones”. They don’t work.
Are you building natively or in the Docker environment?
I recommend you use the Docker environment to build and run the toolchain, because it eliminates the effect of potential issues in your host system that could affect the toolchain build.
That’s kind of what I wanted; but too many hours and cycles lost with no success. The docker build might have given me the clue as to why: apparently, llvm no longer builds libc++ by default. Oh well, it works now.