On Wed, Oct 1, 2008 at 11:53 AM, Helmut Jarausch <[EMAIL PROTECTED]> wrote: > Hi, > > I want to create a shared library, say libULIB.so, > which needs additional shared libraries, e.g. libmpfr.so and > libgmp.so . > > My users only use the functions provided by libULIB.so. > > Is there a means to "prelink" libULIB.so, so that the libraries > libmpfr.so and libgmp.so are not needed by the user?
use the -static commandline option of gcc. Paul

