> Tauno Voipio <tauno.voipio.RemoveThis@INVALIDiki.fi> writes:
>
>> Joris Dolderer wrote:
>>> Is there any smarter linker for Linux (if possible open source)
>>
>> It is NOT a linker question alone: the linker cannot split
>> parts of single object files out.
>
> The GNU linker can't. Some other linkers can. I'm afraid I can't
> name one for Linux though.
Wrong. See --gc-sections in the ld manual (and
-ffunction-sections/-fdata-sections in the gcc manual).
-- Sergei.
Do not link unused functions
最新推荐文章于 2023-12-21 16:26:45 发布