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: 12017
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: 108
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 message
mirek is currently offline  mirek
Messages: 12017
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...
Previous Topic: Example websocket SSL
Next Topic: Technology lab vs External resources
Goto Forum:
  


Current Time: Wed Sep 18 11:06:32 CEST 2019

Total time taken to generate the page: 0.01563 seconds