|
|
Subscribe / Log in / New account

Mold (linker) 1.0 released

Mold (linker) 1.0 released

Posted Dec 17, 2021 11:26 UTC (Fri) by Vipketsh (guest, #134480)
In reply to: Mold (linker) 1.0 released by ldearquer
Parent article: Mold (linker) 1.0 released

That's correct: you need to pass the lto flag when compiling your source. You are well advised to pass all your other compilation flags used for source compilation when doing the LTO link too (-f*, -m* & possibly others).

The gcc manual has a decent explanation to start from: https://gcc.gnu.org/onlinedocs/gcc-11.2.0/gcc/Optimize-Op...


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds