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: 12098
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: 121
Registered: August 2018
Location: France
Experienced 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: 12098
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: 1400
Registered: September 2007
Senior 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: 12098
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 message
cbpporter is currently offline  cbpporter
Messages: 1400
Registered: September 2007
Senior Contributor
Thank you!
Previous Topic: Example websocket SSL
Next Topic: Gtk3
Goto Forum:
  


Current Time: Wed Nov 13 18:19:10 CET 2019

Total time taken to generate the page: 0.01715 seconds