google / kati

An experimental GNU make clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows port

Zero3K opened this issue · comments

It would be nice if it could be compiled using MSYS2 on Windows. Right now, I am getting the following error:

In file included from src/rule.h:23,
from src/eval.cc:30:
src/eval.cc: In constructor 'Evaluator::Evaluator()':
src/eval.cc:168:9: error: 'pthread_getattr_np' was not declared in this scope; did you mean 'pthread_getname_np'?
168 | CHECK(pthread_getattr_np(pthread_self(), &attr) == 0);
| ^~~~~~~~~~~~~~~~~~
src/log.h:83:9: note: in definition of macro 'CHECK'
83 | if (!(c)) \

Unfortunately, Windows is not a supported operating system because it doesn't align well with our goals so I'll close this as "working as intended".

What do you mean?

Kati mostly exists to be used within Android's builds. Android (as in, the operating system) does not build on Windows and therefore running Kati on Windows is not a priority for us.

It can still be useful for people who build using MinGW/GCC.