to create library

can anyone tell the command to create library in unix when i have a .c file.
i need to create a lib file from the c file and then want this library to link with other c files and perform my task.. can anyone help..

Do you want a shared library?

You need to specify what compiler and OS, because some of the options vary. You could also read your cc (or gcc) documentation or man page.

Here is a tutorial on shared libraries for the gcc compiler:
Creating a shared and static library with the gnu compiler [gcc]

Thanxs for the link...