On Thu, Nov 6, 2008 at 5:16 PM, Stefan Reinauer stepan@coresystems.de wrote:
Vincent Legoll wrote:
Isn't all that kind of things doable via function pointers and link-time dead code elimination ? That would achieve the no ifdeffery goal, and may be cleaner code...
Link time optimization would suggest we look into compiling with LLVM instead of gcc.
I was believing that current linkers discarded code of unused functions. Would LLVM really be needed for that to happen ? Or are you thing of more involved optimizations ?
Has anyone tried this, yet?
Not me