Subject: Re: PIC hacks
To: Todd Whitesel <toddpw@best.com>
From: Chris G. Demetriou <cgd@netbsd.org>
List: port-arm32
Date: 12/05/1998 10:06:43
Todd Whitesel <toddpw@best.com> writes:
> What's the recommended method for converting a system to static libs?
> Is it as simple as "edit .mk file and make build" or is there more to it?

cat >> /etc/mk.config
LDSTATIC=-static
^D

then 'make build' or equivalent.

that'll build all of the shared libraries, but will link all of the
'src' programs statically.

if you realy want to get rid of all of the shared libraries, then you
need to put "NOPIC=" into mk.conf as well, then, after you've built,
rm the old shlib binaries.



cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.