Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2013 13:26:09 -0300
From:      =?ISO-8859-1?Q?Otac=EDlio?= <otacilio.neto@bsd.com.br>
To:        Diane Bruce <db@db.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Error on building cross-gcc
Message-ID:  <51E02E21.5030608@bsd.com.br>
In-Reply-To: <20130712131434.GA56841@night.db.net>
References:  <51DF72B8.40502@bsd.com.br> <20130712131434.GA56841@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/07/2013 10:14, Diane Bruce wrote:
> 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
>> _______________________________________________


Yes I compile cross-binutils first. It is a dependency.

Thank you!




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