2 ms·
I'm pretty sure the documentation actually lies though. Yes, `collect2` exists, but with the existence of all the modern linker sections and scripts, it simply
by o11c 3y ago
I'm pretty sure the documentation actually lies though.
Yes, `collect2` exists, but with the existence of all the modern linker sections and scripts, it simply forwards everything to `ld` unchanged. There's no sneaky inspection, C code generation, or second linking pass.
- skitter 3y agoThanks for the clarification. I was questioning my sanity, because collect2 as described in the doc sounds not just hacky, but also like a waste of compile time.