[haiku-development] Can't build cross gcc 2.x

  • From: "Dustin Howett" <alaricx@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 30 Oct 2008 00:00:09 -0400

I attempted to rebuild GCC2 because jam was complaining that
HAIKU_RAW_GCC_VERSION was not set (which it actually was.)
This is the error I encountered:

--------
In file included from tconfig.h:5,
                 from
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/libgcc2.c:33:
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/config/i386/xm-haiku.h:32:
sys/wait.h: No such file or directory
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/libgcc2.c:41:
stdlib.h: No such file or directory
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/libgcc2.c:42:
unistd.h: No such file or directory
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory
`/home/dustin/programming/c/haikubuild/haiku/generated/cross-tools-build/gcc/gcc'
make: *** [cross] Error 2
ERROR: Building gcc failed.
--------

Any ideas? :) I can't find (for example) wait.h in the buildtools
checkout at all, and I'm at the newest revision as of this writing
(28373).

- Dustin L. Howett

Other related posts: