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 » lld / windres
lld / windres [message #52316] Thu, 05 September 2019 09:56 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
In current release, mingw ld is replaced with clang's lld, which greately reduces link times.

However, I have unfortunately found a little problem with that: app icons are no longer working. Which is sort of strange, as during the build, the process is to compile .rc using windres utility into object .o file, then link with linker.

I have spent several hours with that without finding anything. Maybe somebody else would be more lucky than me?

(If there is no solution, I would go with lld anyway, this is just small glitch that can be ignored for now....)

Mirek
Re: lld / windres [message #52319 is a reply to message #52316] Thu, 05 September 2019 12:17 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello mirek,

Indeed it don't work since v13495 (G++ -v : 8.1.0) : https://www.ultimatepp.org/forums/index.php?t=msg&th=107 32&start=0&

The workaround I find is to use latest version of Mingw64 (G++ -v : 9.2.0) when I want ico instead of mingw toolchain built with Upp.

I still got a version of Upp (v11873)(G++ -v : 7.1.0) with working toolchain, If you want I can give you some information about version of all exe from mingw/bin

Best regard

[Updated on: Thu, 05 September 2019 12:18]

Report message to a moderator

Re: lld / windres [message #52320 is a reply to message #52319] Thu, 05 September 2019 12:26 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Xemuth wrote on Thu, 05 September 2019 12:17
Hello mirek,

Indeed it don't work since v13495 (G++ -v : 8.1.0) : https://www.ultimatepp.org/forums/index.php?t=msg&th=107 32&start=0&

The workaround I find is to use latest version of Mingw64 (G++ -v : 9.2.0) when I want ico instead of mingw toolchain built with Upp.

I still got a version of Upp (v11873)(G++ -v : 7.1.0) with working toolchain, If you want I can give you some information about version of all exe from mingw/bin

Best regard


No need. I know that the problem is between windres and lld.

So currently the choice is between very slow linking times and working icon and fast linking times with icon.

Perhaps I will find a way how to activate original slow linker just for release mode...
Re: lld / windres [message #52568 is a reply to message #52320] Tue, 22 October 2019 14:10 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
So that's why icons no longer work!

BTW, after a long pause on other projects, I'm back to U++ projects. Meanwhile we no longer have MS licenses, so for the last month I've been stuck with GCC. First thing I noticed was icons no longer working. Second, that the debugger is quite rough and buggy. Even watches are deleted after each step over.
Re: lld / windres [message #52584 is a reply to message #52568] Thu, 24 October 2019 09:03 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 22 October 2019 14:10
So that's why icons no longer work!

BTW, after a long pause on other projects, I'm back to U++ projects. Meanwhile we no longer have MS licenses, so for the last month I've been stuck with GCC. First thing I noticed was icons no longer working. Second, that the debugger is quite rough and buggy. Even watches are deleted after each step over.


Watches fixed.
Re: lld / windres [message #52606 is a reply to message #52584] Mon, 28 October 2019 10:26 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Thank you!
Re: lld / windres [message #53032 is a reply to message #52606] Thu, 13 February 2020 10:30 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I have got some good news. I have tried downloading the most recent clang ldd.exe and the problem with app icons seems to be fixed!

Mirek
Previous Topic: using namespace Upp; in header files
Next Topic: Simple Skylark Application
Goto Forum:
  


Current Time: Fri Mar 29 00:44:20 CET 2024

Total time taken to generate the page: 0.03876 seconds