This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error making cross compiler, gcc 4.4.0, FreeBSD 7.2


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]