On 9 June 2011 23:25, pancake <panc...@youterm.com> wrote: > What do you think about creating a single main() in sbase.c that works like > busybox (as a proxy for the rest of binaries) i think this can be interesting > for embeddeds. So reading symlink of argv0 and act accordingly.
The only way this is going to happen is if someone writes a script which does it automatically, by going through each utility prefixing their main() functions (in a separate build directory), generating a common main() which dispatches to the correct places, and then compiles them. That is to say, I'm not going to change the utilities themselves, but if someone were to write a separate 'boxing' script I'd be happy to add it to the repo. Thanks, cls