Re: ARM crosscompiling?

From: Krassimir Slavchev <krassi_at_bulinfo.net>
Date: Mon, 19 Feb 2007 17:21:10 +0200
Bernd Walter wrote:
> On Mon, Feb 19, 2007 at 05:05:06PM +0200, Krassimir Slavchev wrote:
>   
>> cd /usr/src
>> make TARGET=arm TARGET_ARCH=arm buildenv
>> cd /usr/src/sys/boot/arm/at91/libat91
>> make
>> cc -Os -mcpu=arm9 -ffreestanding  
>> -I/usr/src/sys/boot/arm/at91/libat91/../libat91  
>> -I/usr/src/sys/boot/arm/at91/libat91/../../../..  
>> -I/usr/src/sys/boot/arm/at91/libat91/../../../../arm  -D_KERNEL  -Wall 
>> -Waggregate-return   -Wnested-externs  -Wpointer-arith -Wshadow 
>> -Wwrite-strings  -Werror  -Wmissing-prototypes  -Wmissing-declarations 
>> -DBOOT_KB920X  -c printf.c
>> printf.c:20:20: stdarg.h: No such file or directory
>> ....
>>
>> I have tried this on 2 different machines but it is the same.
>>     
>
> I'd just localy added at91 into sys/boot/arm/Makefile and did a
> buildworld.
>
>   
No, it is the same.
How old is your source tree?
This seems to be a problem with 'make buildenv'.
Also 'make trampoline' gives similar errors.
Received on Mon Feb 19 2007 - 14:21:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC