On 27.01.2011 13:13, Bidyut mandal wrote: > We need shared library. However, we don't how to create static library > in HP-UX. I know nothing about HP-UX, but you could try to compile any shared/static binary first. Check those URLs for inspiration: http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html http://wiki.linuxquestions.org/wiki/Static_linking Regards, miko