tvOS build.sh help, please #106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm trying to copy the ios build.sh example usage to use for tvos and I've gotten pretty far, but need some help here:
Basically, I stripped out the same parts of the Xcode.xip for AppleTVOS that I stripped out for iPhoneOS and then made adjustments to the ios_toolchain/build.sh for tvos. It looks like I got pretty far, but maybe I deluding myself.
Also, it appears that the wrapper.c needs adjustment:
Would it work if I just change those values to APPLETVOS|appletvos?
Finally, I just noticed this at the bottom of my build.sh execution:
I assumed this is coming from this line in build.sh:
I can't reproduce the variable-sized error. I have tested clang 3.5, 3.6, 3.7, 3.8, 3.9, 4.0.1, 5.0.2, 6.0.1, 7.0.1, 8.0.0, 9.0.0, 10.0.0, 11.0.0, and git ...
What's your OS and your compiler version?
It's
-mtvos-version-min=x.x, I think.I'm very sorry for not getting back to you sooner.
I'm using Apple's llvm https://github.com/apple/llvm-project.git rev
8b8cdf9a9dc095e53269eaf5acfd803ee28c9083I build it, then build a new version of it with the just built version (so llvm with llvm)
The OS is Debian buster-20201209-slim and I start out with g++ and llvm-dev installed via apt. I use the above llvm build with my ios (cctools-port) and mac (osxcross) builds too and it has worked fine.
Thank you, sir.
Pulling in your patch
14ab64360cand changing-miphoneos-version-minto-mtvos-version-minhas me building successfully.I'm fine if you'd like to close this ticket @tpoechtrager. Thank you again.
Let's keep it open for reference. You might not be the only one who wants a tvOS toolchain. :)
For other OSs: