-
Notifications
You must be signed in to change notification settings - Fork 988
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
add {,t}{a6,arm64}ios machine types #864
Conversation
Why does Chez Scheme need to distinguish between OSX and iOS? I don't see any code in this PR that treats them any differently. |
@jltaylor-us the intent of the change is to let user code distinguish between a Chez Scheme build for macOS and one for iOS, to make it possible for the same code to support both platforms in the places that they differ. For example, from the Racket PR I linked:
|
Are the object files produced by |
As far as I understand, yes, apart from the machine type flag[1]. But, I think so would the objects produced by the [1]: i.e. without this change, a |
hmm... I'm not sure why the different BSDs have different machine types either. (but maybe because they are distinct kernels, whereas iOS and MacOS still share the same XNU kernel, I think?) |
@jltaylor-us I've added some docs. I wasn't sure how much detail to go into in the release notes re. iOS support, so let me know if you think more is needed. Building for iOS requires cross-compilation so I've opted to just update |
Seems ok to me. I'm not sure I understand the practical applications of iOS support if it only works when attached to a debugger, but I assume someone has a use for it or you wouldn't be bothering with this PR. Let's give it a few days to see if any of the other maintainers have anything to add. |
Just added a small clarification that the new notes apply to the native backend (as opposed to PB). Re. use cases: I have an iOS app on the AppStore built with Racket-on-Chez, and I'm now working on a second. The released versions use the PB backend and I use it in development as well, but I do test against the native backend every now and then. My hope is they'll eventually lift the restriction. |
Looks like there haven't been any new comments in the last couple of weeks so maybe it's time to merge this? |
Thanks for this contribution! |
In support of racket/racket#5057