PcX <xunxun1982@xxxxxxxxx> writes: > If I use "-flto" to build one library, the library usually becomes > very large. > Now I want to remove the lto information to release it, but don't > want to rebuild the lib. > How can I do this? You can use objcopy -R to remove the LTO sections. They are ones whose names start with .gnu.lto. You can use objdump -h to see the section names. Ian