This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linux->i686-pc-pe compiler won't build libiberty
DJ Delorie wrote:
> > ./../../gcc-2.95.2-6/libiberty/pexecute.c:378: `O_BINARY' undeclared (first use in this function)
>
> > ./../../gcc-2.95.2-6/libiberty/strsignal.c:592: argument `signo' doesn't match prototype
> > /usr/include/signal.h:131: prototype declaration
>
> These are both pretty clear indications that the just-built gcc is not
> finding the correct target headers. Use "./xgcc -v ..." to see what
> directories it's searching, and make sure you put the target headers
> and libraries there.
I would agree if, there had been an error message stating that an include file was missing. Are you saying that
there might be a platform specific io.h file, to pick a file out of the air, and that the non-platform specific file is
getting picked up?
sps