Home » Community » Coffee corner » CLANG 3.4
CLANG 3.4 [message #41883] |
Mon, 03 February 2014 16:25  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
Have you noticed the release of LLVM / CLANG 3.4? They seem to offer official binary builds and installers for many platforms including Windows.
Would it already be possible to compile U++ apps with clang? Or does it require a custom builder in TheIDE?
Best regards,
Tom
|
|
|
Re: CLANG 3.4 [message #41885 is a reply to message #41883] |
Mon, 03 February 2014 17:44   |
|
Tom1 wrote on Mon, 03 February 2014 16:25 | Hi,
Have you noticed the release of LLVM / CLANG 3.4? They seem to offer official binary builds and installers for many platforms including Windows.
Would it already be possible to compile U++ apps with clang? Or does it require a custom builder in TheIDE?
Best regards,
Tom
|
Hi Tom!
I don't know about windows, but on Linux Clang works very well for me at least since version 2.8. The interface is compatible with gcc, so all you need is to create a build method with GCC builder in TheIDE, just substitute g++ -> clang++ in the compiler field. There might also be a need to tweak the include and library paths a bit, but that should not be hard to figure out.
Also, I've read about new driver being developed for clang, which should be compatible with MSVC. So when that is ready, you could use also the MSVC builder to use clang in TheIDE 
Best regards,
Honza
|
|
|
Re: CLANG 3.4 [message #41900 is a reply to message #41885] |
Wed, 05 February 2014 08:42  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi Honza,
I installed it on both Windows and Ubuntu Linux. As you say, it already works on Linux. There are many warnings though when compiling upp, but the executable works.
On windows it seems that compilation completes, but not linking. I guess a custom builder for clang is needed to address correct linker with correct parameters on windows. (I did not have enough time to figure this out properly, hence the guess..) Maybe we just have to wait a couple of clang releases to have this all sorted out by the clang team.
I'm dreaming about having a clang cross compiler environment with upp, targeting both Linux and windows. Maybe others over time...
Best regards,
Tom
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:11:58 CEST 2025
Total time taken to generate the page: 0.01146 seconds
|