Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2013 08:14:34 -0500
From:      Diane Bruce <db@db.net>
To:        Otac?lio <otacilio.neto@bsd.com.br>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Error on building cross-gcc
Message-ID:  <20130712131434.GA56841@night.db.net>
In-Reply-To: <51DF72B8.40502@bsd.com.br>
References:  <51DF72B8.40502@bsd.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 12, 2013 at 12:06:32AM -0300, Otac?lio wrote:
> 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

Did you compile cross-binutils first?

Check back next week. Work is being done on this port.
> 
> 
> Someone can give me a hint about what is happen?
> 
> Thanks a lot
> -Otacilio
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db



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