[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: To compile a .so lib
Arun Sharma forced the electrons to say:
> On Fri, Feb 25, 2000 at 06:18:26PM +0530, G Gautam wrote:
> > I have the source for openssl, but when I compile, I get an .a archive.
> > Lynx wants a .so library. How do I compile, so that I get a .so library ?
> gcc -shared *.o -o libfoo.so
Shouldn't that be:
gcc -shared -Wl,-soname,libfoo.so -o libfoo.so *.o
Arun? Isn't that -W necessary?
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. (binand@xxxxxxxxxxxxxxxxxxxxx)