ARM crosscompiling?

Bernd Walter ticso at cicely12.cicely.de
Mon Feb 19 15:08:33 UTC 2007


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


More information about the freebsd-current mailing list