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
ar-compatible command for zig cc #7915
Comments
|
Note the way this is intended to work is the same as |
|
@kubkon I was deferred to you regarding this question by Andrew in IRC. Parsing and interpreting of the command-line arguments makes sense, but I am missing what happens next. My original idea was to detect |
Hi @motiejus! So there are two stages to this, that I can see. In the first stage, it's as Andrew pointed out that we just want to add a new separate command much like This is the first stage which focuses on getting the Hope this clears it up. If not, feel free to ping me whenever and I'll be happy to help! |
Thanks for the pointers. Looks like it is using
Is that correct for the first stage? |
Sounds good to me! |
|
As implied in #7917 (comment), I'd love to stop downloading llvm in my bazel rules just for access to Very eager for this to be a part of |
I'm not sure what you mean by this - to clarify, look at how I do not expect to see any edits to zig_llvm.cpp. Another way to think of it is that you are basically coding a mapping of |
When using
zig ccwhen trying to compile xz, I get the following:Autotools are running
zig build-libwith commandcr, which it does not understand, thus failing.It would be good to expose a compatible interface to
ar, sozig ccis easier to integrate to existing toolchains.Barring other issues, once this is resolved, xz can be built only with gnu make and zig.
The text was updated successfully, but these errors were encountered: