svn commit: r249484 - head/lib
Tim Kientzle
kientzle at freebsd.org
Fri Apr 19 15:42:23 UTC 2013
On Apr 17, 2013, at 10:33 AM, Dimitry Andric wrote:
> In any case, the layout has been like this since the initial clangbsd
> import, and I never saw any reason to change it. Maybe Ed can tell a
> bit more, since he seems to have done the initial infrastructure setup.
FreeBSD/ARM just switched from GCC to Clang, which is
why this just got noticed. U-Boot is used quite heavily for
FreeBSD/ARM (and MIPS and PowerPC as well, I believe).
Here are the options I see for getting
cc -print-file-name=include
to work again:
* Hack clang to handle -print-file-name=include specially.
I did this for GCC already, but I'm not thrilled about it.
* Configure clang differently so that this option works.
* Symlink /usr/include to appear somewhere that clang expects.
* Rearrange our directory layout slightly to match clang's expectations.
Tim
More information about the svn-src-all
mailing list