Date: Mon, 23 Jun 1997 11:29:57 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: narvi@haldjas.folklore.ee (Narvi) Cc: hackers@FreeBSD.ORG Subject: Re: Tcl loadable packages Message-ID: <199706230159.LAA14097@genesis.atrad.adelaide.edu.au> In-Reply-To: <Pine.BSF.3.96.970622215057.13775A-100000@haldjas.folklore.ee> from Narvi at "Jun 22, 97 09:55:17 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Narvi stands accused of saying: > > If one was to make a port of tcl loadable package, how would one > go about it? > > Well, I know I have to make a shared library. How am I to name it > - the original makefile, that does not work on FreeBSD tries to > just make a xxxx.so file. There are a couple of approaches. You can hack the Makefile to build shared libraries the BSD way, or you can write a replacement Makefile that uses bsd.lib.mk. Looking at the latter will at least make it clear how shared libraries are made, and let you name it appropriately. > Where am I to install it? /usr/local/lib is probably as good a place as any. If it has support scripts, I'd suggest putting them in /usr/local/libdata/... -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706230159.LAA14097>