| From | Sent On | Attachments |
|---|---|---|
| Skalla Raabjorn | Sep 13, 2007 3:54 am | |
| Krassimir Slavchev | Sep 13, 2007 4:07 am | |
| M. Warner Losh | Sep 13, 2007 8:05 am | |
| Skalla Raabjorn | Sep 13, 2007 12:20 pm | |
| Warner Losh | Sep 13, 2007 12:29 pm | |
| Skalla Raabjorn | Sep 13, 2007 12:43 pm | |
| Patrick Crilly | Sep 13, 2007 2:25 pm |
| Subject: | Error on installing cross binutils | |
|---|---|---|
| From: | Warner Losh (im...@bsdimp.com) | |
| Date: | Sep 13, 2007 12:29:32 pm | |
| List: | org.freebsd.freebsd-arm | |
From: Skalla Raabjorn <skal...@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 <kra...@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.
Interested in testing some patches if I run some diffs?
Warner





