Re: Linux shared library

Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
Tue, 21 Sep 99 11:08:09 +0200


On Tue, 21 Sep 1999 10:31:22 -0800, Tonglu Yi wrote:
> What tools are avilable for building linux shared libary or
> DLL?

Just gcc & binutils. Because they are a bit tricky to use, you should have
a look at GNU libtool (http://www.gnu.org/software/libtool/libtool.html )
to build your libraries. Making a library with libtool is as simple as:

libtool --mode=compile gcc -O2 -Wall -c foo.c
libtool --mode=link gcc -O2 -o libfoo.la -rpath /usr/local/lib foo.lo

Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/