Date: Mon, 18 Aug 2008 13:03:39 +0300 From: Stavros Markou <stma@antcor.com> To: Michael Fuckner <michael@fuckner.net> Cc: freebsd-arm@freebsd.org Subject: Re: how to build root filesystem for ixp425 Message-ID: <1219053819.12457.5.camel@Hellboy> In-Reply-To: <48A946DC.704@fuckner.net> References: <1219048946.12457.1.camel@Hellboy> <48A946DC.704@fuckner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-jOhXIKQp225PitdNZopM Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi, Are you using freebsd release 8 for your build ? Best Regards, Stavros. On Mon, 2008-08-18 at 11:54 +0200, Michael Fuckner wrote: > Stavros Markou wrote: > > Hi, > > > > I am trying to build a root filesystem using the mini guide at > > http://people.freebsd.org/~cognet/freebsd_arm.txt but with no luck for > > IXP425. Just to clarify some things : > > > > When i am doing a buildworld inside /usr/src all these env variables > > inside the mini guide must be exported ? > > What about BUILD_ARCH ? By default i am building a filesystem at a i386 > > machine so BUILD_ARCH has the i386 value. > > I don't know if I have to, but I am using a separate usr/src-tree for > cross-compiling arm- which is at /samba/freebsd8-arm. > > #!/bin/csh > cd /samba/freebsd8-arm > mkdir -p usr/bin > mdkir -p usr/lib > mkdir -p usr/include > mkdir -p usr/share/man/man1 > > mkdir -p usr/share/info > > mkdir -p usr/libdata/ldscripts > mkdir -p usr/libexec > > cd /samba/freebsd8-arm/src/gnu/usr.bin/cc > make TARGET_ARCH=arm TOOLS_PREFIX=/samba/freebsd8-arm clean depend all > make TARGET_ARCH=arm TOOLS_PREFIX=/samba/freebsd8-arm > DESTDIR=/samba/freebsd8-arm install > cd ../binutils/ > make TARGET_ARCH=arm TOOLS_PREFIX=/samba/freebsd8-arm clean depend all > make TARGET_ARCH=arm TOOLS_PREFIX=/samba/freebsd8-arm > DESTDIR=/samba/freebsd8-arm install > > setenv CC /samba/freebsd8-arm/usr/bin/gcc > setenv CC /samba/freebsd8-arm/usr/bin/gcc > setenv AS /samba/freebsd8-arm/usr/bin/as > setenv NM /samba/freebsd8-arm/usr/bin/nm > setenv RANLIB /samba/freebsd8-arm/usr/bin/gnu-ranlib > setenv LD /samba/freebsd8-arm/usr/bin/ld > setenv OBJCOPY /samba/freebsd8-arm/usr/bin/objcopy > setenv SIZE /samba/freebsd8-arm/usr/bin/size > setenv MACHINE arm > setenv MACHINE_ARCH arm > cd /samba/freebsd8-arm/src/sys/arm/conf/ > config AVILA > cd ../compile/AVILA > make depend all > > > Regards, > Michael! Stavros Markou Senior Software Engineer ANTCOR S.A. Email: mailto:stma@antcor.com Phone: +30 210 52 22 290 Fax: +30 210 52 22 254 Address: 52 Ag. Konstantinou, Athens 10437, GREECE --=-jOhXIKQp225PitdNZopM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1219053819.12457.5.camel>