> > This sounds really cumbersome. And some very widely used distributions > do not install a C-Compiler by default. > > What do you think about the approach taken by "liboil"? > http://liboil.freedesktop.org/ > > The library has implementations for various CPU-Extensions, and at run > time, when the library is initialized, a set of function pointers is > set to point to the "right" implementation functions. > > Cheers > -Richard
How about getting the package installer to do the test and select the appropriate binary (or at least dl lib)? Of course, that'd screw up machines which nfs mount /usr/bin, but do many people use diskless workstations these days? And you wouldn't have to run the checks every time the application started up. Just a thought... NJB/. _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
