Date: Wed, 20 May 1998 09:04:21 -0400 (EDT) From: Patrick Gardella <patrick@cre8tivegroup.com> To: Andrew Arensburger <arensb@cfar.umd.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Perl Shared Library Message-ID: <XFMail.980520090421.patrick@cre8tivegroup.com> In-Reply-To: <Pine.SOL.3.95.980520075956.11744A-100000@glitnir.cfar.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks. I'll give it a try! Patrick On 20-May-98 Andrew Arensburger wrote: > On Wed, 20 May 1998, Patrick Gardella wrote: >> But I do want to figure this out, so I'll go ahead and try them. > > Just for completeness, now that I've had a chance to look it up: > create a file 'func.c', containing some random function. Now let's make it > into a shared library. Use the following Makefile: > > ----- BEGIN ---------------------------------------------- > SRCS = func.c > LIB = foo > SHLIB_MAJOR = 1 > SHLIB_MINOR = 0 > > .include <bsd.lib.mk> > ----- END ------------------------------------------------ > > Run 'make'. This will create the shared library "libfoo.1.0". Save the > output of 'make' to a file, and you'll have a handy-dandy recipe for > future reference. > > -- > Andrew Arensburger, Systems guy Center for Automation Research > arensb@cfar.umd.edu University of Maryland > Gotta run. My neighbors just sighted Elvis making crop circles. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980520090421.patrick>