I think you can just say ld -o blah.so -shared blah.a without extracting
.o files.

The tricky part is going to be ensuring that the files were compiled with
the -D_REENTRANT flag on Linux.  Otherwise, the code won't work in weird
cases (like referencing errno).

Jim

>
> On Linux, you should be able to extract all the .o files from the .a and
> combine them into a .so.
>
> +---------- On Oct 25, Andrew Piskorski said:
> > Also, I'm thinking that if I link libfoo.a statically into my nsd8x
> > binary, I can still create myfoo.so as a loadable module - there's no
> > reason I need to also link it statically, right?
>

Reply via email to