[haiku-development] Re: Can't build cross gcc 2.x
- From: Ingo Weinhold <ingo_weinhold@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Thu, 30 Oct 2008 13:34:28 +0100
On 2008-10-30 at 05:00:09 [+0100], Dustin Howett <alaricx@xxxxxxxxx> wrote:
> 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:3
> 2:
> 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).
For building libgcc Haiku's headers are used (headers/posix, headers/os).
They are copied by the build/scripts/build_cross_tools script to someplace
where gcc will pick them up.
CU, Ingo
- References:
- [haiku-development] Can't build cross gcc 2.x
- From: Dustin Howett
Other related posts:
- » [haiku-development] Can't build cross gcc 2.x
- » [haiku-development] Re: Can't build cross gcc 2.x
- [haiku-development] Can't build cross gcc 2.x
- From: Dustin Howett