Page 1 of 1

Broken Link - Download Clang binary for windows

Posted: Tue Apr 02, 2013 12:04 am
by Arbalest
The download link here http://www.codelite.org/LiteEditor/ClangCompiler for the "clang binary built for codelite" is broken. I've tried searching for the download but still no luck.

Is Clang still an option for Windows-based codelite users?

Re: Broken Link - Download Clang binary for windows

Posted: Tue Apr 02, 2013 12:12 am
by eranif
It is an option, I can reupload it. However note that executables produced by this binary can not be debugged with gdb.
In order to be able to debug it you should compile your own clang but with visual studio.

Eran

Re: Broken Link - Download Clang binary for windows

Posted: Tue Apr 02, 2013 1:14 am
by Arbalest
Specifically with Visual Studio? Any version? But, not with codelite 5.1 with MinGW?

Re: Broken Link - Download Clang binary for windows

Posted: Tue Apr 02, 2013 8:34 am
by eranif
Arbalest wrote:Specifically with Visual Studio? Any version? But, not with codelite 5.1 with MinGW?
]
Its a bug in clang _not_ in codelite.

I reported it almost a year ago to the clang bug tracker - but no resolution so far.

http://llvm.org/bugs/show_bug.cgi?id=13636
From what I have heard, if you will compile it with VC you can debug it with Visual Studio
Eran

Re: Broken Link - Download Clang binary for windows

Posted: Tue Apr 02, 2013 5:49 pm
by Arbalest
I am NOT suggesting it is a problem with codelite.

I am asking if you mean that I should build Clang with Visual Studio, then use the resulting binary with codelite? Or are you saying that any Clang binary on Windows will result in not being able to debug with gdb?

If you mean the latter, then you are saying I can use Clang with the Visual Studio debugger?

Re: Broken Link - Download Clang binary for windows

Posted: Tue Apr 02, 2013 6:04 pm
by eranif
Arbalest wrote:Or are you saying that any Clang binary on Windows will result in not being able to debug with gdb?
Yes, you won't be able to debug under Windows. I might try and build latest clang / llvm trunk and see if there was any progress but I doubt it
Arbalest wrote:If you mean the latter, then you are saying I can use Clang with the Visual Studio debugger?
From what I read - yes (but I never tried it before)

Eran