Basile STARYNKEVITCH wrote: > Dave Korn wrote: >> >>> We might also artificially add a reference to each libiberty function >>> from >>> cc1. >> >> Or link it into cc1 et al. using "--whole-archive". >> >> > Sorry, I am not aware of this option. And are we sure it works on all > the systems GCC is supposed to run on?
Ach. It requires GNU ld, of course. We could just link the objects from the libiberty/ dir into cc1 (etc.) instead of the lib .a archive. cheers, DaveK