Home » Developing U++ » U++ Developers corner » Clang / lld
( ) 1 Vote
Re: Possible new package or overhaul proposals for U++ in 2019 [message #51663 is a reply to message #51657] |
Wed, 24 April 2019 09:04   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Tue, 23 April 2019 17:29mirek wrote on Tue, 23 April 2019 10:38
I was going through web investigating this and just to clarify: Even better would be using clang and its linker...
It looks like it should be possible to combine mingw libraries with clang toolchain...
I am really surprised that something like that is not already somewhere for download.
Mirek
AFAIK, no one is allowed to distribute mingw. That is the problem ...
Nonsense. Mingw (those parts except the GNU compiler) is public domain.
Quote:
clang can be combined with Microsoft SDK as well ... In this case it is called clang-cl ...
I'll try to check clang with mingw later. I need to work on my own stuff now ...
OK, so I have tried... Clang 8.0.0. does not seem to work with mingw.
However, 7.0.0 does, after fixing some issues here and there, with ld.exe. That would be more than enough, 7.0.0 is late 2018 release.
The only problem is that I am so far unable to make ldd.exe work. I am able to compile with "-fuse-ld=lld" and everything seems fine, unfortunately resulting .exe just crashes. So it all leads to nowhere - complete recompile of GUI app is 12 seconds for clang and 17 seconds for that damned slow ld.exe to link results....
I am attaching .bm....
Maybe it would be better to try in Microsoft SDK mode? Perhaps mingw Win32 libraries and headers would import to clang-cl?
-
Attachment: CLANG.bm
(Size: 1.12KB, Downloaded 293 times)
|
|
|
 |
|
Clang / lld
By: Novo on Fri, 19 April 2019 22:50
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Sat, 20 April 2019 00:56
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: Novo on Sat, 20 April 2019 01:05
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Tue, 23 April 2019 16:38
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: Novo on Tue, 23 April 2019 17:29
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Wed, 24 April 2019 09:04
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Wed, 24 April 2019 10:51
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Wed, 24 April 2019 10:56
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Wed, 24 April 2019 14:45
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Thu, 25 April 2019 07:57
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: Novo on Thu, 25 April 2019 16:14
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Fri, 03 May 2019 11:50
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: Novo on Fri, 03 May 2019 17:49
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Sat, 04 May 2019 08:48
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: Tom1 on Fri, 10 May 2019 11:49
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: mirek on Sat, 11 May 2019 16:05
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: Novo on Sat, 11 May 2019 19:29
|
 |
|
Re: Possible new package or overhaul proposals for U++ in 2019
By: Tom1 on Mon, 13 May 2019 09:37
|
Goto Forum:
Current Time: Mon Aug 25 22:13:47 CEST 2025
Total time taken to generate the page: 0.06145 seconds
|