own library

leesongchen leesongchen at 263.net
Tue Aug 31 03:07:27 BST 1999


> if i want to release a own library, what i must do ?
> i have compiled my sourcecode
> its only listview.h and listview.cpp
> when i want to release the listview.o, what i must do ?

under linux,you can create both static and dynamic libraries.

use ar to create static library.see 'man ar',simple example:
	ar cru libmylib.a listview.o 
use gcc to create dynamic library.see 'man gcc',simple example:
	gcc -shared -o libmylib.so.0.1 listview.o

> in advanced rene´



More information about the KDevelop mailing list