Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » CLANG 3.4
CLANG 3.4 [message #41883] Mon, 03 February 2014 16:25 Go to next message
Tom1
Messages: 818
Registered: March 2007
Experienced 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 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1779
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Smile


Best regards,
Honza
Re: CLANG 3.4 [message #41900 is a reply to message #41885] Wed, 05 February 2014 08:42 Go to previous message
Tom1
Messages: 818
Registered: March 2007
Experienced 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
Previous Topic: Forum spam
Next Topic: What Operating System do U++ users work with?
Goto Forum:
  


Current Time: Tue Jan 26 22:17:46 CET 2021

Total time taken to generate the page: 0.00813 seconds