-
Notifications
You must be signed in to change notification settings - Fork 409
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
Cross Compilation [Rewritten History] #380
Conversation
Thanks, I'm happy to use this history |
@toots, can you try again with this branch? |
The docs only mention opam-cross-Windows and opam-cross-android. Is there a particular reason why opam-cross-ios is not supported ? |
It most likely works we just haven't tested it. Actually we haven't tested
Android either.
…On Fri, Dec 22, 2017, 1:14 AM Wojtek Czekalski ***@***.***> wrote:
The docs only mention opam-cross-Windows and opam-cross-android. Is there
a particular reason why opam-cross-ios is not supported ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#380 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIe-_DceGSXGYwK5C4NqKILEpemJkWyks5tCpISgaJpZM4RJvq5>
.
|
The only issue with iOS I anticipate is the lack of dynlink, does jbuilder handle that correctly? |
Jbuilder supports building libs without dynlink, and it either lets you disable dynlink for a package manually or it tries to discover if the compiler supports dynlink by checking if |
The latter should work! |
Any idea if this error could be caused by the changes in
|
I don't think so. Here's the only the difference:
You can try the old branch and see if there's a difference. |
Necessary to read toolchains
Determines the .install depending on the toolchain for x compilation
To control installation prefix
* Create targets from findlib toolchains by reading findlib configs * Define targets inside workspace files * Set cross compilation targets with -x argument
In a host/target setup, all binaries that are built (including preprocessors) are ran using the host *for* building targets. Final target artifacts are compiled using the target toolchain
Describes how to setup targets and toolchains and the changes to the workspace syntax.
I merged the branch because it's really unlikely this is caused by any of the changes above. We can address the problem in a later PR if it's really a fault introduced here. |
@wokalski, no reason. I just didn't see the opam-cross-ios repository. I listed the repositories explicitly to be clear about what jbuilder was expected to work with. I see that these have now moved to a new organization so I'll update the doc. |
I updated the doc BTW: #434 |
@diml this is my half hearted at rewriting the history. The result is completely fictitious, especially wrt attribution, but at least it looks pretty and every commit builds. I think this beats 1 squashed commit by a large margin, but perhaps even keeping the dirty history makes sense?