[cfe-dev] Using Xcode to compile clang, still possible ?
popizdeh at gmail.com
Tue Nov 25 03:35:54 PST 2014
Are you sure those cmake variables are ok? If I move clang out of source
and try to configure using cmake gui I can't see any variables with CLANG_
On Tue, Nov 25, 2014 at 10:12 PM, Nat! <nat at mulle-kybernetik.com> wrote:
> On 24 Nov 2014, at 19:57, Reid Kleckner <rnk at google.com> wrote:
> > It looks like you are trying to use the so-called "standalone" clang
> build, but you checked out clang into llvm/tools/clang. You only need to
> put clang sources in llvm/tools/clang if you want it to be part of the LLVM
> build. If you move the sources out to somewhere alongside the llvm sources,
> the standalone build will probably work. I did this with VS a few weeks ago.
> Thanks, that was very helpful and it got me further along the way.
> Unfortunately I am also a cmake newbie as well...
> I moved llvm/tools/clang away and built llvm again. Then I tried to build
> clang separately in its own build directory thusly:
> nat at kempe:build(^) $ cmake
> -DCLANG_PATH_TO_LLVM_BUILD=../../clang-test/build -DCMAKE_BUILD_TYPE=Debug
> -- Found LLVM_CONFIG as
> CMake Error at
> Host Clang must be able to find libstdc++4.7 or newer!
> Call Stack (most recent call first):
> CMakeLists.txt:96 (include)
> -- Configuring incomplete, errors occurred!
> See also
> See also
> On a hunch (
> I edited - in the llvm build directory "./../clang-test/build/" - the
> "CMakeCache.txt" file for LLVM_ENABLE_LIBCXX:BOOL=ON and cmaked/build all
> of llvm.
> But the same error persists, probably because I don't understand how cmake
> Ignorance more frequently begets confidence than does
> knowledge -- Darwin
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev