Re: ARM crosscompiling?

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Mon, 19 Feb 2007 16:08:18 +0100
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.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd_at_bwct.de           info_at_bwct.de            support_at_fizon.de
Received on Mon Feb 19 2007 - 14:08:33 UTC

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