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 » Developing U++ » U++ Developers corner » Clang / lld  () 1 Vote
Re: Possible new package or overhaul proposals for U++ in 2019 [message #51730 is a reply to message #51728] Sat, 04 May 2019 08:48 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
cbpporter wrote on Fri, 03 May 2019 15:11
mirek wrote on Fri, 03 May 2019 12:50
cbpporter wrote on Fri, 03 May 2019 10:27
I upgraded to 13076 and there is no lld.exe inside.

Did you replace the executable with the same name or is this not included for testing yet?


Yes, it is renamed to ld.exe.

You can easily detect its presence by mingw link times... Smile

Mirek

Thanks!

Next, we need to use clang to compile Smile.


Interestingly, from my tests, mingw / lld might be now ideal combo for Win. Clang is not faster compiler and does not produce better code than GCC 8. It even now seems that mingw/lld might be slightly better than Visual C++. The produced code seems a little bit more refined, link times are virtually zero while Visual C++ linker is fast, but still takes a couple of seconds to link large app (like theide). Compile times are about 2x worse, but in normal development cycle link times might be more important.

The only problem with mingw was horrible TLS implementation, but I have now workaround for that for the next release.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Two new nasty GCC warnings that I am going to disable
Next Topic: Example websocket SSL
Goto Forum:
  


Current Time: Mon Aug 25 19:41:28 CEST 2025

Total time taken to generate the page: 0.06263 seconds