From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,28a1602031398c42,start X-Google-Attributes: gidfee84,public From: john@iastate.edu (John Hascall) Subject: Re: How do I create a shared library? Date: 1996/07/16 Message-ID: <4sgetg$15d@news.iastate.edu>#1/1 X-Deja-AN: 169163315 references: <837508279.640.0@fersys.demon.co.uk> organization: Iowa State University, Ames, Iowa USA newsgroups: comp.unix.osf.osf1 wrote: }I'm using OSF/1 V3.2c on Alpha platforms, and am puzzled as to how I create }a shared library. }I've looked at manual pages for "cc", "ld" and "ar", and done a "man -k" }for "shared" and "library", but am none the wiser. It's in the Programmer's Guide in the BookReader. Anyway, here's an example: ld -shared -no_archive -o libfoo.so foo1.o foo2.o foo3.o -lc John -- John Hascall, Software Engr. Shut up, be happy. The conveniences you ISU Computation Center demanded are now mandatory. -Jello Biafra john@iastate.edu http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud