What is the difference in gcc between lto and fat-lto-objects
问题 I have tried to compile to assembler my source code with next flags: 1. -flto 2. -flto -ffat-lto-objects 3. -flto -fno-fat-lto-objects Third one provides optimized slim LTO code as written in documentation, but I don't see any difference in the output assembly file between first and second, why? OS: linux Compiler: GCC 4.7 回答1: The difference between fat and non-fat object files is that fat object files contains both intermediate language as well as the normally compiled code. At linktime, if