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   |
chickenk
Messages: 171 Registered: May 2007 Location: Grenoble, France
|
Experienced Member |
|
|
mirek wrote on Sun, 18 January 2015 11:49by 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.
|
|
|
Goto Forum:
Current Time: Sun Aug 24 20:04:32 CEST 2025
Total time taken to generate the page: 0.05045 seconds
|