cmake, ldc, and cross compiling
Dan Olson
zans.is.for.cans at yahoo.com
Fri Jan 24 07:11:17 PST 2014
Jacob Carlborg <doob at me.com> writes:
> On 2014-01-23 09:32, Dan Olson wrote:
>
>> LLVM configure didn't seem to like my installed clang. I though of just
>> building libc++.
>
> Which Clang do you use.
>
>> Or I could use prebuilt here:
>>
>> http://llvm.org/releases/3.4/clang+llvm-3.4-x86_64-apple-darwin10.9.tar.gz
>>
>> Or maybe use mac port clang-3.5?
>
> Apple is still at Clang 3.2, probably for good reasons.
Stumbled into this on libc++ web page:
clang++ -stdlib=libc++
So yes, you were correct Jacob, I can use default clang on OSX to build
trunk llvm. Just have to feed this flag to llvm configure and it now
happy. It must default to libstdc++.
CXXFLAGS='-stdlib=libc++' ../llvm-svn/configure
Looks like llvm trunk is building fine this way.
--
Dan
More information about the digitalmars-d-ldc
mailing list