cross-rs / cross-toolchains

Additional Dockerfiles and crosstool-ng config files to build additional toolchains.
Apache License 2.0
88 stars 16 forks source link

add x86_64-apple-ios #28

Closed git-bruh closed 8 months ago

git-bruh commented 1 year ago
root@606c2aa09410:~# x86_64-apple-ios-clang c.c          
root@606c2aa09410:~# file ./a.out 
./a.out: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>

Need to change the hardcoded iPhoneOS*sdk to iPhoneSimulator*sdk, I just made a symlink in /opt/cctools/SDK for testing but need to refactor ios.sh for a proper fix

PS: I have no idea what I'm doing