[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need libbsd.so.1.0.0



Hi Joost,

you wrote:
> But if you've got the .a file, cannot you make the .so file by:
> 
> mkdir t
> cd t
> ar -x ../libbsd.a
> gcc -o libbsd.so.1.0.0 -shared -W,l-soname,libbsd.so.1 *.o
> 
> (I may well be _very_ wrong, and please flame me if I am,
> but I just _think_ it would work, and it's easy to find out).

Ahm, you are wrong:
To build shared libs the object files need to be compiled with -fpic which
results in position independend code.

Dominik
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Visit the FAN SITE of the WORLD LEAGUE OF AMERICAN FOOTBALL:
<A HREF="http://www.uni-mainz.de/~kubla/WLAF/Welcome.html>HTTP</A> or
<A HREF="file:/afs/zdv.uni-mainz.de/homes/UFO/kubla/public_html/WLAF/Welcome.ht
ml">AFS file</A> access.




Reply to: