Re: llvm34 still needs work on header detection

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0Aee62bbq8x+Jh8T07RcXiTAKCgMVHFTye8KktesFXBWw@mail.gmail.com>
David,
       Since fink assumes that the user will have installed the command
line tools, we should use those locations for the c++ headers. However,
because fink has a binary distribution again, llvm34 should have a post
installation script in the clang34 split-off that checks for these expected
system c++ header directories and if they aren't present either throws an
error in the package installation or perhaps even invokes 'xcode-select
--install' to automatically install the missing command line tools.
                  Jack

On Sunday, May 25, 2014, Jack Howarth <[email protected]> wrote:

> David,
>      We still have one major issue to address on the llvm34 packaging for
> 10.8 and 10.9. While on 10.7, clang++-3.4 automatically finds the c++
> headers, this isn't the case yet for the later OS releases.
>
> On 10.8, the libc++ headers are stored in…
>
> /usr/lib/c++/v1
>
> whereas the libstdc++ headers are stored in…
>
> /usr/include/c++/4.2.1
>
> On 10.9,  the libc++ headers are installed with the Command Line Tools in…
>
> /Library/Developer/CommandLineTools/usr/lib/c++/v1
>
> whereas the libstdc++ headers are stored in the same location as in 10.8.
> of…
>
> /usr/include/c++/4.2.1
>
> I am unfamiliar with how clang sets these paths. Hopefully we can have the
> correct default locations added for both -stdlib=libc++ and
> -stdlib=stdlibc++ for each OS release.
>                Jack
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.