Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 16:08:18 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Krassimir Slavchev <krassi@bulinfo.net>
Cc:        freebsd-arm@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: ARM crosscompiling?
Message-ID:  <20070219150818.GI24769@cicely12.cicely.de>
In-Reply-To: <45D9BCA2.9080704@bulinfo.net>
References:  <45D9BCA2.9080704@bulinfo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@bwct.de           info@bwct.de            support@fizon.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070219150818.GI24769>