U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » Precompiled headers
Re: Precompiled headers [message #44235 is a reply to message #44184] Tue, 03 February 2015 20:47 Go to previous messageGo to previous message
chickenk is currently offline  chickenk
Messages: 171
Registered: May 2007
Location: Grenoble, France
Experienced Member
mirek wrote on Sun, 18 January 2015 11:49
by combining all files into single object file, linker has less oportunity to remove unused code. This leads to (sometimes significantly) larger executable binaries. For this reason, we do not recommend (and have off by default) BLITZ for release builds and if possible, we use precompiled headers for release builds.

At least for GCC, your experiments would lead me to use BLITZ for release builds, with the following options:
-ffunction-sections -fdata-sections -Wl,--gc-sections

Best of BLITZ, with much more unused code removed!

Anyway thanks for working on PCH.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: LineEdit/CodeEditor heavily optimized for huge files
Next Topic: AttrText improvements
Goto Forum:
  


Current Time: Fri May 15 19:09:33 GMT+2 2026

Total time taken to generate the page: 0.00413 seconds