Replies: 4 comments 13 replies
-
For build-time comparison:
Host machine specs: AMD Phenom(tm) II X2 550 (2 x 3.1 GHz), 4GB DDR2 800, SATA II HDD |
Beta Was this translation helpful? Give feedback.
-
I do wonder if stripping (
Or is the above warning for static libraries built with LTO? |
Beta Was this translation helpful? Give feedback.
-
I suggest to use |
Beta Was this translation helpful? Give feedback.
-
I will likely open an new repo with optimization in mind and CMLFS as the base |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
LTO, Link-Time Optimization, promises faster execution time in exchange for longer compile time and possible smaller binaries/libraries. There is also ThinLTO that is like LTO but with short compile times than 'Full-LTO'
Binutils, LLVM, and GCC of llvmtools would need LTO feature turned on.
For GCC, add to configure command:
For LLVM, add to cmake command:
Set flags to use LTO:
or for ThinLTO:
Per owl4ce (for more optimization):
For LTO and more optimization:
Interesting projects:
https://github.com/InBetweenNames/gentooLTO
Beta Was this translation helpful? Give feedback.
All reactions