Using zig as a clang compiler #13773
SebastianMpl
started this conversation in
General
Replies: 3 comments 1 reply
-
While not commenting directly to the actual question: this is probably an Issue vs Discussion item since this, on the outset, does appear to be some kind of a bug that we need to look into further... |
Beta Was this translation helpful? Give feedback.
0 replies
-
I make a shell named 'zc' it works.
then
but do a cross compile is researching. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't know the current state of it, but https://github.com/malisipi/vzcc was created a while ago. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey
guys,I'm trying to use zig which is clang compatibile c compiler with multiple libc and ability to compile for other operating systems.
I made an appimage that points to zig cc and did a symlink named clang to /usr/bin but I get error:
This is a compiler bug, please report it using
v bug file.v
.https://github.com/vlang/v/issues/new/choose
You can also use #help on Discord: https://discord.gg/vlang
I even renamed clang to zig and it's still the same.
I know that zig is not officially supported, but is there any way to make it work?
Anyone tried zig cc with vlang before?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions