This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Matthias Klose<doko@ubuntu.com> writes:gold is now required for some GCC lto optimizations, so (as a packager for a distribution) I would like to ship it in an appropriate way, not getting in the way of ld, but having gold available if it's needed. Currently you can only use either the old ld or gold, there's no possibility to tell gcc which linker to use, which might introduce some regressions if you always use gold instead of ld. Is there a way to tell gcc which linker to use?
Put the linker in an otherwise empty directory under the name "ld". Then invoke gcc with a -B option pointing to that directory.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |