Error on installing cross binutils
Skalla Raabjorn
skalla.raabjorn at gmx.de
Thu Sep 13 12:44:12 PDT 2007
On Thu, 13 Sep 2007 13:28:38 -0600 (MDT)
Warner Losh <imp at bsdimp.com> wrote:
> From: Skalla Raabjorn <skalla.raabjorn at gmx.de>
> Subject: Re: Error on installing cross binutils
> Date: Thu, 13 Sep 2007 21:21:10 +0200
>
> > On Thu, 13 Sep 2007 14:07:32 +0300
> > Krassimir Slavchev <krassi at bulinfo.net> wrote:
> >
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Skalla Raabjorn wrote:
> > > > Hi all,
> > > >
> > > > I'm currently trying to follow this howto:
> > > > http://people.freebsd.org/~cognet/freebsd_arm.txt
> > > >
> > >
> > > This seems to be old. Just set TARGET=arm and TARGET_ARCH=arm in
> > > /etc/make/conf and then 'make buildworld' ...
> >
> > Ok, this did work. But how do I build a cross-compiler or better how do
> > I compile foreign code (think u-boot) on i386 for arm?
>
> I have some patches that install everything into /usr/arm-freebsd
> that's needed for most configure scripts to do the right thing. This
> would be the best solution.
>
> However, since I don't have those hacks packaged up, the next best
> thing is to cd to the src directory and do make buildenv. This gives
> you a build environment that has the cross compilers in place. Don't
> know if it would work for something as complex as uboot.
I'll try it, but can take a while (off to EuroBSDCon in a few hours).
>
> Interested in testing some patches if I run some diffs?
Sure :)
More information about the freebsd-arm
mailing list