On Oct 26, 2013, at 12:17 PM, William G. Scott <[email protected]> wrote:

> 
> On Oct 26, 2013, at 9:24 AM, David Hall <[email protected]> wrote:
> 
>> 'm fairly confident this isn't a compiler problem, but a libc++ problem.
>> 
>> CXXFLAGS="-stdlib=libstdc++" cmake ..
>> gets you past the current problem. But if boost is built against libc++ , it 
>> doesn't link, so I also built boost against libstdc++ and everything built.
> 

It turns out David Hall is absolutely right.  

Setting CXXFLAGS="-stdlib=libstdc++” allows RDkit, (as well as coot), to  
compile with clang++ on OS X 10.9.

There is something else subtle going on with the fink boost libraries such that 
rdkit only compiles for me when
I use vanilla g++-4.8 (available in fink) to compile the boost libraries.  
However, everything else, including RDkit itself, compiles with Apple’s clang++
when  CXXFLAGS="-stdlib=libstdc++”

I’ll shut up now and will go away and ponder, but I just want to make clear 
that the problem I encountered isn’t in RDkit per se.

Thanks to everyone for all the help.

Bill


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to