|
From: Philip W. <phi...@pr...> - 2003-09-25 00:17:56
|
> I don't think you would need a "dummy" shared library. I think > that as long as you don't explicitly use -static in the link line > that the glibc will be linked shared anyway providing the one > required shared object. My code only links to specified static > libraries, so the system libraries must get linked as .so. If you still want static linking, you can ask gcc to link certain libraries statically. Try -Wl,-Bstatic -lmyLibrary1 -lotherLibrary -Wl,-Bdynamic Just make sure you end with -Wl,-Bdynamic so that libc is dynamically linked. Philip. |