Hi,
Under windows7, msys2, I've managed to build successfully Julia 0.4.1 
with BUILD_LLVM_CLANG=1 option enabled. However, while building Clang.jl 
package, compiler complains on the non-existent -lclang library.

julia> Pkg.build("Clang")
INFO: Building Clang
g++ wrapclang.cpp.o -rdynamic -shared -o libwrapclang.so 
-L/home/phlavenk/julia/deps/llvm-3.3/build_Release/Release/lib 
 -L/home/phlavenk/julia/deps/llvm-3.3/build_Release/Release/lib -lclang
g++.exe: error: unrecognized command line option '-rdynamic'
Makefile:58: recipe for target 'libwrapclang.so' failed
make: *** [libwrapclang.so] Error 1
================================[ ERROR: Clang 
]================================
...

Only libclang.a is present in D:\msys64\home\phlavenk\julia\usr\lib, no 
libclang.so, lib or dll files are present. 
Please could you help me what to specify during julia build that those lib 
files were generated?
Thanks a lot.
Cheers
Petr

Reply via email to