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 » 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: Sun Aug 24 14:15:49 CEST 2025

Total time taken to generate the page: 0.05193 seconds