Date: Thu, 18 Apr 2013 21:50:33 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: Dimitry Andric <dim@freebsd.org> Cc: Ed Schouten <ed@80386.nl>, src-committers@freebsd.org, Juli Mallett <jmallett@freebsd.org>, svn-src-all@freebsd.org, Brooks Davis <brooks@freebsd.org>, svn-src-head@freebsd.org, Tijl Coosemans <tijl@freebsd.org> Subject: Re: svn commit: r249484 - head/lib Message-ID: <647B67E8-152A-47A8-89E4-E15075D20992@freebsd.org> In-Reply-To: <1FEABB1B-ADDE-412A-9D40-F9FB2822B654@freebsd.org> References: <201304141913.r3EJDqPI095965@svn.freebsd.org> <516D54F5.4010501@FreeBSD.org> <2A0FC59F-E043-4B4E-BABE-E16C6A1FBF5C@freebsd.org> <CACVs6=9QA_wiittSR2HGcOFaDj4VASgLHOimEGWyEcSt8UdBjA@mail.gmail.com> <475555FA-DF6A-42FA-990D-4224ECAEAE52@FreeBSD.org> <516E900B.9090300@FreeBSD.org> <BE32E940-D519-4B0B-B33F-8A8F33388EA9@freebsd.org> <1FEABB1B-ADDE-412A-9D40-F9FB2822B654@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?647B67E8-152A-47A8-89E4-E15075D20992>