From owner-freebsd-hackers Tue Nov 14 10:06:42 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA27885 for hackers-outgoing; Tue, 14 Nov 1995 10:06:42 -0800 Received: from bell.cs.strath.ac.uk (mmdf@bell.cs.strath.ac.uk [130.159.196.126]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA27862 for ; Tue, 14 Nov 1995 10:06:32 -0800 Received: from muir-11.cs.strath.ac.uk by bell.cs.strath.ac.uk id aa08228; 14 Nov 95 14:08 GMT To: freebsd-hackers@freebsd.org Subject: Re: Making Shared Libraries In-reply-to: Your message of "Mon, 13 Nov 1995 21:20:16 EST." Date: Tue, 14 Nov 1995 14:06:53 +0000 From: Neil Clark Message-ID: <9511141408.aa08228@bell.cs.strath.ac.uk> Sender: owner-hackers@freebsd.org Precedence: bulk > Quick question, but I'd like to compiled ncurses shared libraries, >but don't know how to do so. Pointers to documentations on doing this >would help, or direct pointers to man pages... I don't know about ncurses, but I`ve been able to compile various libraries as shared by compiling the .c files with the -fpic (position independant code) option and linking with the -shared option. Seems to have worked fine so far... I got this info (mostly) from the gcc man page BTW. You could also check out the man page for ld.so as well for further info. Neil