Vexu / arocc

A C compiler written in Zig.
http://aro.vexu.eu/
MIT License
1.11k stars 57 forks source link

missing libc header: stdio.h #426

Closed nektro closed 2 days ago

nektro commented 1 year ago

musl's example https://git.musl-libc.org/cgit/musl/tree/include/stdio.h

Vexu commented 1 year ago

Compilation.defineSystemIncludes doesn't handle NIX_CFLAGS_COMPILE and many other things yet.

RossComputerGuy commented 3 months ago

To use arocc with nix properly, you have to pass it to wrapCCWith { cc = arocc; }. However, we're looking to get arocc into nixpkgs upstream so this will not be an issue. Of course, arocc is free to implement support for nix and not rely on the wrapper.

RossComputerGuy commented 1 week ago

Arocc is in nixpkgs upstream and the CC wrapper appears to be working with it. I believe this issue could be closed now.

Vexu commented 2 days ago

I trust you to know nix better than me.