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!

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to