Home » Community » U++ community news and announcements » U++/Win32 is now using CLANG toolchain
U++/Win32 is now using CLANG toolchain [message #53107] |
Mon, 02 March 2020 00:38  |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
I have found this wonderful little project:
https://github.com/mstorsjo/llvm-mingw
which provides CLANG toolchain in windows. This is great match for several reasons:
- it is multichain, single compiler for both 32 and 64 bits, which results in nice small footprint - in fact, I have dropped "without toolchain" windows version, it is now single 140MB .7z file...
- it has good optimal TLS support, unlike gcc in win32
- it is actually able to produce .pdb compatible debug info. That means we can use the same (superior) debugger as for Microsoft C++, including "smart" parts that now display U++ types (!) There are some issues that I plan to gradually fix with workarounds, but overal this seems to work prette well.
Currently it has some downsides too, namely
- targets Windows universal CRT (instead of MSVCRT.dll), which means that for previous versions you need to ship some .dlls with your application. This might or might not be fixed in future...
- being there, it was not possible to have single static linked OpenSSL library for both clang and msvc, so I have gave up and OpenSSL is once again linked dynamically (just as SDL2, MYSQL, PGSQL are)
- there are some issues with weak references, which affected global new/delete overloading )https://github.com/mstorsjo/llvm-mingw/issues/91), but we have workaround for now
- there is also some issue with std::chrono timers, not able to reproduce, but I needed to revert 'msecs' function to older code to fix some weird issues in theide.
Overal, this is a great step forward, next release will be great!
|
|
|
 |
|
U++/Win32 is now using CLANG toolchain
By: mirek on Mon, 02 March 2020 00:38
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Xemuth on Mon, 02 March 2020 08:55
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: koldo on Mon, 02 March 2020 10:33
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Mon, 02 March 2020 12:19
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Novo on Tue, 03 March 2020 20:57
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 04 March 2020 09:37
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: koldo on Wed, 04 March 2020 14:09
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 04 March 2020 14:16
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Tue, 24 March 2020 20:05
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Tue, 24 March 2020 21:30
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 08:57
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 12:41
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 12:52
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 13:00
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 13:24
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 14:28
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Wed, 25 March 2020 15:37
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 25 March 2020 17:50
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 26 March 2020 11:40
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 12:00
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 16:55
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 17:26
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 26 March 2020 18:39
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Tom1 on Thu, 26 March 2020 18:57
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 26 March 2020 22:24
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Thu, 13 August 2020 12:13
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Thu, 13 August 2020 14:20
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Thu, 13 August 2020 16:50
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: Oblivion on Tue, 18 August 2020 20:31
|
 |
|
Re: U++/Win32 is now using CLANG toolchain
By: mirek on Wed, 19 August 2020 09:16
|
Goto Forum:
Current Time: Fri May 09 14:30:18 CEST 2025
Total time taken to generate the page: 0.02996 seconds
|