From owner-freebsd-questions Wed Jan 17 15:51:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18986 for questions-outgoing; Wed, 17 Jan 1996 15:51:44 -0800 (PST) Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA18981 for ; Wed, 17 Jan 1996 15:51:41 -0800 (PST) Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA13606; Wed, 17 Jan 96 17:51:33 -0600 Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA13805; Wed, 17 Jan 1996 16:51:32 -0700 Date: Wed, 17 Jan 1996 16:51:32 -0700 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9601172351.AA13805@emu.fsl.noaa.gov> To: dugger@swn.com Cc: questions@freebsd.org In-Reply-To: (message from Don Dugger on Wed, 17 Jan 1996 15:05:09 -0800 (PST)) Subject: Re: What is the future FreeBSD and ELF? Sender: owner-questions@freebsd.org Precedence: bulk >>>>> "Don" == Don Dugger writes: Don> Secondly, dose any one know of info on shared libs? Like how Don> to build them. On FreeBSD, it's a piece of cake. Compile your source files with the -fpic option. Then link 'em with the -Bshareable option and call the output file lib.so... For example: cc -c -fpic a.c cc -c -fpic b.c cc -c -fpic c.c ld -Bshareable -o libtesting.so.1.0 a.o b.o c.o Or, you could figure out how to use the bsd.lib.mk Make include file. -- Sean Kelly NOAA Forecast Systems Laboratory, Boulder Colorado USA A quiz: If I am my brother's keeper, who am I? (Answer: me.) -- Deep Thoughts, by Jack Handey