-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to cross compile for iOS #42
Comments
Update: i was able to fix that issue, however I now get the following error: |
Setting up an iOS cross-compiler #34 (this is a duplicate, I think, of that) First we need to sort out the issues with building a reliable native compiler - and then we can see about cross-compilers for iOS (I am not even sure how that can be tested without a jailbroken iOS device?) |
Hi, as you said, a jailbroken device would be required to run gcc - which you are correct. What is bizarre is if I type make manually, the compilation continues - I'd just expect make to keep going. |
OK, not something I have access to...
As noted above
We have to fix the higher priority things first tho :) |
Closing in favour of #34 |
So I have built a cross-tool chain for iOS from here: https://github.com/tpoechtrager/cctools-port
I have then built gmp, mpfr, and Mac for iOS successfully.
I then pass the following rags to gcc's configure:
--host=aarch64-apple-darwin
--target=aarch64-pale-darwin
--prefix=/usr
--with-local-prefix=/usr/include
--with-gmp=$(BUILD_STAGE)/gmp/usr
--with-mpfr=$(BUILD_STAGE)/mpfr/usr
--with-mpc=$(BUILD_STAGE)/mpc/usr
Configure then completes successfully however, upon running make, I get the following error:
checking if mkdir takes one argument... no
*** Configuration aarch64-apple-darwin not supported
I am unsure how to proceed. Any support would be appreciated.
Regards.
The text was updated successfully, but these errors were encountered: