rui314/chibicc

Missing headers?

Andersama opened this issue · 2 comments

Pretty sure this might be an issue because I'm building on windows. in chibicc.h here's what appears missing: glob.h, libgen.h, strings.h sys/wait.h and unistd.h. May also be an issue that I attempted to make a cmake project and maybe the make file would've told the compiler where those were, the headers though I think are linux based, not sure, could be wrong.

In any case looking forward to the book.

chibicc can be built only on Linux and produces Linux executables. Windows is not supported. If you want to built and try out chibicc on Windows, please use WSL (Windows Subsystem for Linux).

Ah ok, good to get direct feedback I sort've figured that's what was going on. Thanks.