This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Error making cross compiler, gcc 4.4.0, FreeBSD 7.2
- From: Kai Ruottu <kai dot ruottu at wippies dot com>
- To: xorquewasp at googlemail dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 05 May 2009 10:51:12 +0300
- Subject: Re: Error making cross compiler, gcc 4.4.0, FreeBSD 7.2
- References: <20090505040751.GA65218@logik.internal.network>
xorquewasp@googlemail.com wrote:
I'm attempting to compile an i386 cross amd64 compiler on
FreeBSD 7.2.
The build errors out with:
/root/gcc-4.4.0-obj/./gcc/xgcc -B/root/gcc-4.4.0-obj/./gcc/
-B/usr/local/cross/x86_64-unknown-freebsd7.2/bin/
-B/usr/local/cross/x86_64-unknown-freebsd7.2/lib/ -isystem
/usr/local/cross/x86_64-unknown-freebsd7.2/include -isystem
/usr/local/cross/x86_64-unknown-freebsd7.2/sys-include
<snip>
In file included from ../../../gcc-4.4.0/libgcc/../gcc/tsystem.h:44,
from ../../../gcc-4.4.0/libgcc/../gcc/libgcc2.c:29:
/root/gcc-4.4.0-obj/./gcc/include/stddef.h:59:24: error: sys/_types.h:
No such file or directory
Where you have installed the target headers for FreeBSD 7.2/x86_64 ?
Configuration:
$ ./configure \
--target=x86_64-unknown-freebsd7.2 \
--prefix=/usr/local/cross \
--enable-languages="c,ada" \
--disable-nls \
--with-system-zlib \
--with-libiconv-prefix=/usr/local \
--program-suffix="-4.4.0"
The binutils, libraries and headers for the target are expected in the
traditional places the previous options for 'xgcc' are showing... If
the target stuff is not there, who then must be sued?