I am just wondering If i could create mechanism that wold rename
main methods to main1,main2 ..etc

and the have main like:

int main(int argc,char *argv[])
{
        if(0==strcmp(argv[0],"mp3blaster")
        {       retunn main1(argc,arv);
        } 
        if(0==strcmp(argv[0],"sndconfig");
        {       return main2(argc,argv);
        }
        ...
}

Then I would compile everything into a single static libc6
executable and have symbolic links for all the names!.

This process would be easier automate that backporting libraries
and hunting down missing includes.

-- 
        _-  Joonas Kekoni       OH2MTF      I                           -_
        _-internet:     [EMAIL PROTECTED]   I       DO NOT EAT.         -_
        _-slowmail:     j{mer{ntaival 7a176 I                           -_
        _-              02150Espoo          I      It is a monitor      -_
        _-              Finland/Europe      I                           -_

Reply via email to