Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread Isaiah Norton
USE_LLVM_SHLIB requires the patch linked here in order to export symbols correctly. https://github.com/Keno/Cxx.jl/issues/62#issuecomment-88980621 Anyway, keep an eye on: https://github.com/JuliaLang/julia/issues/9336 You can be sure that when all of this is usable in a default build, it won't b

Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread J Luis
Well, I did remove deps\build\llvm-3.7.1 but when making again I get tons of. Guess that it's time to stop and try again in a couple of months. Cannot export ZZNK4llvm14MCLOHDirective11getEmitSizeERKNS_16MachObjectWriterERKNS_11MCAsmLayoutEENK20raw_counting_ostream11current_posEv: symbol not

Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread Isaiah Norton
Good point, you don't need LLDB for only Cxx.jl (I was trying to build Gallium). You do need BUILD_LLVM_CLANG. I haven't had much luck enabling sub-projects in Make.user with an existing LLVM build, so my only recommendation would be to remove the LLVM build directory. On Tue, Jan 5, 2016 at 6:08

Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread J Luis
and even if I make it find that inc file ../src/bootstrap.cpp: In function 'llvm::Function* CloneFunctionAndAdjust(CxxInstance*, llvm::Function*, llvm::FunctionT ype*, bool, llvm::ClonedCodeInfo*, const clang::CodeGen::CGFunctionInfo&, clang::FunctionDecl*, bool, bool*, void**)': ../src/bootstra

Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread J Luis
I'm not trying to build with LLDB. Actually, I had to build with (in Make.user) LLVM_VER=3.7.1 adding the other settings advised in the Cxx page lead to lots of errors. But after having build with the above, I added override BUILD_LLVM_CLANG=1 override USE_LLVM_SHLIB=1 and advanced more (make

Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread Isaiah Norton
Last time I tried this (~October), there were still issues with using LLVM as a shared library, and with building LLDB using the recommended win32 thread model toolchain. See comments here: https://github.com/Keno/Cxx.jl/issues/62#issuecomment-88979566 If you have gotten through the LLDB build the

Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread J Luis
but even if I remove those "coward" lines, it errors later with ../src/bootstrap.cpp:31:34: fatal error: clang/Sema/ScopeInfo.h: No such file or directory #include "clang/Sema/ScopeInfo.h" ^ compilation terminated. BuildBootstrap.Makefile:95: recipe for target '

Re: [julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread Keno Fischer
`:` probably? May have to add the makefile magic that turns windows-style paths into msys style paths. On Tue, Jan 5, 2016 at 8:35 PM, J Luis wrote: > Hmm, I found a problem. When running Julia it doesn't know anything about > 'make'. So I added the msys2 dir where it lives to the path and moved

[julia-users] Re: Trying again Cxx on Windows

2016-01-05 Thread J Luis
Hmm, I found a problem. When running Julia it doesn't know anything about 'make'. So I added the msys2 dir where it lives to the path and moved to next error Tuning for julia installation at: C:\programs\julia64\usr\bin C:/programs/julia64/usr/bin/../../Make.inc:101: *** cowardly refusing to bu