Building with "-Dtarget=[arch]-[os]" option doesn't work #18
|
Okay, so when I used It fails with this error: How do I get cross compiling to work? Is there something I need to do? |
Replies: 1 comment 3 replies
|
Hi! Thanks for the interest! I'll start by quoting from the README:
I've done some tests that suggest this could work but the existing
Can I ask which platform and architecture you are building on and which you are targeting? If it's not included in my current testing matrix, I can try to add it to make sure it works when the changes land in the library. I've been primarily using Linux variants of arm64 and x86_64 and I briefly tested with FreeBSD x86_64 to Linux x86_64 enough to know that it could work with a proper |
Hi! Thanks for the interest!
I'll start by quoting from the README:
I've done some tests that suggest this could work but the existing
build.zigneeds to be refactored to better support proper cross-compilation first. This is in flight along with some additional platform/architecture support that I've been working on already. I don't have a timeline on when this will land in the library but I hope to be able to complete it successfully in the short-term, anywhere from weeks to a month or two.Can I ask which platform and architecture you are building …