ar -rsv some.a new.o works, what is the equivalent for gcc -shared some.so new.o
ar -rsv some.a new.o
adds new.o into the existing some.a
However
gcc -shared some.so new.o
seems to "add" the new.o into the shared object some.so while removing the old stuff.
Is something like
gcc -shared -add_to_existing some.so new.o ?
|