[<<][compsci][>>][..]
Sun Jan 24 13:18:52 CET 2010

Convert a static library to a shared library

Suppose foo.a is made of bar.o baz.o

I keep on running into this problem:

    gcc -shared foo.a -o libfoo.so

is not the same as

    gcc -shared bar.o baz.o -o libfoo.so

In the first example, all the objects in foo.a are ignored because
nothing depends on them!





[Reply][About]
[<<][compsci][>>][..]