Date: Sat, 18 Oct 2014 11:36:05 -0700 From: Tim Kientzle <tim@kientzle.com> To: Russell Haley <russ.haley@gmail.com> Cc: freebsd-arm <freebsd-arm@freebsd.org>, Rui Paulo <rpaulo@me.com> Subject: Re: Building U-Boot Message-ID: <BB9D032D-6C57-455C-9ACE-D4BB373ED6C0@kientzle.com> In-Reply-To: <CABx9NuS%2BCZXSmVA8Ad_TNPyPLVb7bNCpzgCT-Bn1TgVAV4_2oA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Oct 17, 2014, at 10:58 PM, Russell Haley <russ.haley@gmail.com> wrote: > Hello, I'm trying to build u-boot from the instructions that Mr. Paulo > left here: > > https://wiki.freebsd.org/Digi-CCWMX53 > > This is the error I get: > > russell@FreeArm2:/usr/u-boot% gmake ccwmx53js_config > arm-linux-gcc: not found > arm-linux-gcc: not found U-Boot's build system tries to run the cross-gcc as ${CROSS_COMPILE}gcc. CROSS_COMPILE defaults to "arm-linux-" which is appropriate only if you're building on Linux. The FreeBSD equivalent is armv6-freebsd-gcc (assuming you've installed xdev and xdev-links). The full command I use to configure U-Boot: gmake SED=gsed HOSTCC=cc CROSS_COMPILE=armv6-freebsd- ccwmx53js_config SED=gsed -- U-Boot build relies on some idiosyncrasies of GNU sed; you may need to install textproc/gsed first. HOSTCC=cc -- U-Boot builds some tools that run on the build host; those tools can compile with clang or gcc equally well CROSS_COMPILE=/usr/armv6-freebsd/usr/bin/ may work slightly better by not requiring xdev-links.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB9D032D-6C57-455C-9ACE-D4BB373ED6C0>
