Date: Thu, 1 Aug 2013 23:19:03 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: Mark R V Murray <mark@grondar.org> Cc: "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: RFC: sysutils/u-boot-beaglebone-eabi Message-ID: <EC0A43F1-D24F-4D00-837E-E4E46C962CE3@freebsd.org> In-Reply-To: <1D89CA5C-4C52-4669-8239-935CE3904469@grondar.org> References: <A8C10E4A-3577-4334-A916-381E69688137@freebsd.org> <1D89CA5C-4C52-4669-8239-935CE3904469@grondar.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Aug 1, 2013, at 12:14 AM, Mark R V Murray wrote:
>
> On 1 Aug 2013, at 04:45, Tim Kientzle <kientzle@freebsd.org> wrote:
>
>> P.S. By the way, to make this work, I had to add real ARM cross-compiler
>> ports. We now have devel/arm-eabi-binutils and devel/arm-eabi-gcc
>
> Hi Tim,
>
> Does Clang/LLVM still not do this properly?
Nothing wrong. Clang/LLVM compiles U-Boot just fine
as far as I can tell. That's what I've been doing for months.
But I couldn't figure out how to make that work for the U-Boot port:
1) I need a cross-compiler the u-boot port can depend on.
I don't know a particularly clean way to depend on
the xdev tools that I was using before. It seemed much
easier to depend on another port.
2) Our port tree already had some basic framework for cross-GCC.
(Remember this is typically being cross-compiled for ARM
on i386 or amd64.) I had to fix that support a little to make it
work correctly, but the outline was already there.
3) I didn't see anything already in ports for cross-clang.
4) The base clang has some cross-build abilities, but
it's not really useful without ARM libc or binutils.
Is there some other approach that I overlooked?
Tim
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
iQEcBAEBAgAGBQJR+09YAAoJEGMNyGo0rfFBAgMH/3ZiRepufzuhtDMOrfSbQoDn
ZsNzl8tIaMfKX/nhc5ExGDXP5jLR3rxgc/4styJgVQF5PSEzIErlyGAQG6uqWrhv
twGYP52OIFfKLVWunounTbX81wny3OPpGJpbTfEih9tyGg6lgcTvzDOpVPRpVuDy
iz1VvTzxMD7dluFszBN9XMl4fjo3XBxNOi0wQPxl7P85IQV+3Gf6ru2oQJ6jGGdQ
aTcXtAqmyuE2mnaAiutpH+HEUjnlSJ9jzwBBTfP4iva1zVij8flgSmVFXQM4ZusR
Q3v6nTVraFY51cw9OzuvsvvZgYlKfyTlbuNP6ivVa0SPI/e/ZBUVIhNoCywyUL4=
=at/I
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC0A43F1-D24F-4D00-837E-E4E46C962CE3>
