From owner-freebsd-questions Wed May 20 06:08:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02079 for freebsd-questions-outgoing; Wed, 20 May 1998 06:08:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from iglou.com (sendmail@iglou2.iglou.com [192.107.41.17]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA02069 for ; Wed, 20 May 1998 06:08:09 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from gateway.cre8tivegroup.com [204.255.227.66] by iglou.com with esmtp (8.7.3/8.6.12) id 0yc8bB-0001Q7-00; Wed, 20 May 1998 09:08:02 -0400 Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 20 May 1998 09:04:21 -0400 (EDT) Organization: The Creative Group From: Patrick Gardella To: Andrew Arensburger Subject: Re: Perl Shared Library Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > ----- 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