Yuri Prokushev wrote:
Yes. This is for emx. sys/stat.h contains all required definitions, but seem to be incorrect include path (/usr/local/... instead c:/emx/include). I don't understand yet how to fix it.
Just add an appropriate include path option, i.e. `-I c:/emx/include'.
When building GPC, you can add it to CFLAGS, i.e. `make ... CFLAGS="-O2 -I c:/emx/include"' or to RTSFLAGS, i.e. `make ... RTSFLAGS="-I c:/emx/include"'. (CFLAGS also applies to includes needed by the compiler itself, though you don't seem to have any problems there. RTSFLAGS only applies to the RTS.)
Frank