Rebirth Seph wrote:
I'm getting these errors while compiling:
$ make
psp-gcc -c -Wall -pedantic socket.c
In file included from
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/in
clude/sys/socket.h:15,
from socket.c:10:
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/include/cygwin/socket.h:
30: error: parse error before '__uid32_t'
In file included from
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sy
s-include/unistd.h:4,
from socket.c:15:
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sys-include/sys/unistd.h
: In function '__declspec':
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sys-include/sys/unistd.h
Is this an issue with Cygwin since these are include files? Or is this
a psp-gcc issue?
I'm sorry that I cannot help much here since I have no idea what PSP is.
I guess you are building a cross compiler? Is the target platfrom using
newlib as C runtime? Why should cygwin headers fit for your target
platform?
Gerrit