Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2013 00:06:32 -0300
From:      =?ISO-8859-1?Q?Otac=EDlio?= <otacilio.neto@bsd.com.br>
To:        freebsd-hackers@freebsd.org
Subject:   Error on building cross-gcc
Message-ID:  <51DF72B8.40502@bsd.com.br>

next in thread | raw e-mail | index | archive | help
Dears

I'm tryning to  build cross-gcc with this command line

make TGTARCH=arm TGTABI=freebsd10

or

make TGTARCH=arm TGTABI=freebsd8

on a

FreeBSD squitch 8.4-RELEASE FreeBSD 8.4-RELEASE #27: Mon Jun 10 08:52:47
BRT 2013     ota@squitch:/usr/obj/usr/src/sys/SQUITCH  i386


but all times I got

/usr/ports/devel/cross-gcc/work/build/./gcc/xgcc
-B/usr/ports/devel/cross-gcc/work/build/./gcc/
-B/usr/local/arm-freebsd10/bin/ -B/usr/local/arm-freebsd10/lib/ -isystem
/usr/ports/devel/cross-gcc/work/build/./gcc -isystem
/usr/local/arm-freebsd10/include -isystem
/usr/local/arm-freebsd10/sys-include    -g -O2 -pipe
-fno-strict-aliasing -mbig-endian -O2  -g -O2 -pipe -fno-strict-aliasing
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fno-inline -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
 -I. -I. -I../../.././gcc -I../../.././../gcc-4.5.4/libgcc
-I../../.././../gcc-4.5.4/libgcc/.
-I../../.././../gcc-4.5.4/libgcc/../gcc
-I../../.././../gcc-4.5.4/libgcc/../include  -DHAVE_CC_TLS  -o _muldi3.o
-MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
../../.././../gcc-4.5.4/libgcc/../gcc/libgcc2.c \

In file included from ../../.././../gcc-4.5.4/libgcc/../gcc/tsystem.h:44:0,
                 from ../../.././../gcc-4.5.4/libgcc/../gcc/libgcc2.c:29:
/usr/ports/devel/cross-gcc/work/build/./gcc/include/stddef.h:59:24:
fatal error: sys/_types.h: No such file or directory
compilation terminated.
gmake[4]: ** [_muldi3.o] Erro 1



Someone can give me a hint about what is happen?

Thanks a lot
-Otacilio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51DF72B8.40502>