ARM crosscompiling?
Krassimir Slavchev
krassi at bulinfo.net
Mon Feb 19 15:21:16 UTC 2007
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.
More information about the freebsd-arm
mailing list